pub struct PeriodicConfig {
pub spec: Option<String>,
pub specs: Vec<String>,
pub spec_type: Option<String>,
pub prohibit_overlap: Option<bool>,
pub time_zone: Option<String>,
pub enabled: Option<bool>,
}
Expand description
PeriodicConfig is for serializing periodic config for a job.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§spec: Option<String>
§specs: Vec<String>
§spec_type: Option<String>
§prohibit_overlap: Option<bool>
§time_zone: Option<String>
§enabled: Option<bool>
Trait Implementations§
Source§impl Clone for PeriodicConfig
impl Clone for PeriodicConfig
Source§fn clone(&self) -> PeriodicConfig
fn clone(&self) -> PeriodicConfig
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 PeriodicConfig
impl Debug for PeriodicConfig
Source§impl Default for PeriodicConfig
impl Default for PeriodicConfig
Source§fn default() -> PeriodicConfig
fn default() -> PeriodicConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PeriodicConfig
impl<'de> Deserialize<'de> for PeriodicConfig
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 PeriodicConfig
impl PartialEq for PeriodicConfig
Source§impl Serialize for PeriodicConfig
impl Serialize for PeriodicConfig
impl StructuralPartialEq for PeriodicConfig
Auto Trait Implementations§
impl Freeze for PeriodicConfig
impl RefUnwindSafe for PeriodicConfig
impl Send for PeriodicConfig
impl Sync for PeriodicConfig
impl Unpin for PeriodicConfig
impl UnwindSafe for PeriodicConfig
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