pub struct WaitConfig {
pub min: Option<TimeDelta>,
pub max: Option<TimeDelta>,
}
Expand description
WaitConfig is the Min/Max duration to wait for the Consul cluster to reach a consistent state before attempting to render Templates.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§min: Option<TimeDelta>
§max: Option<TimeDelta>
Trait Implementations§
Source§impl Clone for WaitConfig
impl Clone for WaitConfig
Source§fn clone(&self) -> WaitConfig
fn clone(&self) -> WaitConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WaitConfig
impl Debug for WaitConfig
Source§impl Default for WaitConfig
impl Default for WaitConfig
Source§fn default() -> WaitConfig
fn default() -> WaitConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WaitConfig
impl<'de> Deserialize<'de> for WaitConfig
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
Source§impl PartialEq for WaitConfig
impl PartialEq for WaitConfig
Source§impl Serialize for WaitConfig
impl Serialize for WaitConfig
impl StructuralPartialEq for WaitConfig
Auto Trait Implementations§
impl Freeze for WaitConfig
impl RefUnwindSafe for WaitConfig
impl Send for WaitConfig
impl Sync for WaitConfig
impl Unpin for WaitConfig
impl UnwindSafe for WaitConfig
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