Struct bollard_stubs::models::TaskSpecNetworkAttachmentSpec[][src]

pub struct TaskSpecNetworkAttachmentSpec {
    pub container_id: Option<String>,
}

Read-only spec type for non-swarm containers attached to swarm overlay networks.


> Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to plugin. NetworkAttachmentSpec is used when the Runtime > field is set to attachment.

Fields

container_id: Option<String>

ID of the container represented by this task

Trait Implementations

impl Clone for TaskSpecNetworkAttachmentSpec[src]

impl Debug for TaskSpecNetworkAttachmentSpec[src]

impl Default for TaskSpecNetworkAttachmentSpec[src]

impl<'de> Deserialize<'de> for TaskSpecNetworkAttachmentSpec[src]

impl PartialEq<TaskSpecNetworkAttachmentSpec> for TaskSpecNetworkAttachmentSpec[src]

impl Serialize for TaskSpecNetworkAttachmentSpec[src]

impl StructuralPartialEq for TaskSpecNetworkAttachmentSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.