pub struct ServiceConvergeConfig {
pub delay: Box<Option<String>>,
pub timeout: Box<Option<String>>,
}
Fields§
§delay: Box<Option<String>>
The interval to check if the desired state is reached (ms|s)
. Defaults to 7s
.
timeout: Box<Option<String>>
The timeout of the service to reach the desired state (s|m)
. Defaults to 3m
Implementations§
source§impl ServiceConvergeConfig
impl ServiceConvergeConfig
sourcepub fn builder() -> ServiceConvergeConfigBuilder
pub fn builder() -> ServiceConvergeConfigBuilder
Create an instance of ServiceConvergeConfig
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceConvergeConfig
impl Debug for ServiceConvergeConfig
source§impl<'de> Deserialize<'de> for ServiceConvergeConfig
impl<'de> Deserialize<'de> for ServiceConvergeConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceConvergeConfig
impl RefUnwindSafe for ServiceConvergeConfig
impl Send for ServiceConvergeConfig
impl Sync for ServiceConvergeConfig
impl Unpin for ServiceConvergeConfig
impl UnwindSafe for ServiceConvergeConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more