Struct docker_api::api::task::data::PlacementPreference [−][src]
pub struct PlacementPreference {
pub spread: SpreadOver,
}This is supported on crate feature
swarm only.Fields
spread: SpreadOverTrait Implementations
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 RefUnwindSafe for PlacementPreferenceimpl Send for PlacementPreferenceimpl Sync for PlacementPreferenceimpl Unpin for PlacementPreferenceimpl UnwindSafe for PlacementPreferenceBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more