Struct bollard::models::ServiceSpecMode
source · pub struct ServiceSpecMode {
pub replicated: Option<ServiceSpecModeReplicated>,
pub global: Option<HashMap<(), ()>>,
pub replicated_job: Option<ServiceSpecModeReplicatedJob>,
pub global_job: Option<HashMap<(), ()>>,
}
Expand description
Scheduling mode for the service.
Fields§
§replicated: Option<ServiceSpecModeReplicated>
§global: Option<HashMap<(), ()>>
§replicated_job: Option<ServiceSpecModeReplicatedJob>
§global_job: Option<HashMap<(), ()>>
The mode used for services which run a task to the completed state on each valid node.
Trait Implementations§
source§impl Clone for ServiceSpecMode
impl Clone for ServiceSpecMode
source§fn clone(&self) -> ServiceSpecMode
fn clone(&self) -> ServiceSpecMode
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 ServiceSpecMode
impl Debug for ServiceSpecMode
source§impl Default for ServiceSpecMode
impl Default for ServiceSpecMode
source§fn default() -> ServiceSpecMode
fn default() -> ServiceSpecMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceSpecMode
impl<'de> Deserialize<'de> for ServiceSpecMode
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceSpecMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceSpecMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ServiceSpecMode
impl PartialEq for ServiceSpecMode
source§impl Serialize for ServiceSpecMode
impl Serialize for ServiceSpecMode
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ServiceSpecMode
Auto Trait Implementations§
impl Freeze for ServiceSpecMode
impl RefUnwindSafe for ServiceSpecMode
impl Send for ServiceSpecMode
impl Sync for ServiceSpecMode
impl Unpin for ServiceSpecMode
impl UnwindSafe for ServiceSpecMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)