Expand description
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 toattachment
.
Fields
container_id: Option<String>
ID of the container represented by this task
Trait Implementations
sourceimpl Clone for TaskSpecNetworkAttachmentSpecInlineItem
impl Clone for TaskSpecNetworkAttachmentSpecInlineItem
sourcefn clone(&self) -> TaskSpecNetworkAttachmentSpecInlineItem
fn clone(&self) -> TaskSpecNetworkAttachmentSpecInlineItem
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for TaskSpecNetworkAttachmentSpecInlineItem
impl<'de> Deserialize<'de> for TaskSpecNetworkAttachmentSpecInlineItem
sourcefn 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
sourceimpl PartialEq<TaskSpecNetworkAttachmentSpecInlineItem> for TaskSpecNetworkAttachmentSpecInlineItem
impl PartialEq<TaskSpecNetworkAttachmentSpecInlineItem> for TaskSpecNetworkAttachmentSpecInlineItem
sourcefn eq(&self, other: &TaskSpecNetworkAttachmentSpecInlineItem) -> bool
fn eq(&self, other: &TaskSpecNetworkAttachmentSpecInlineItem) -> bool
impl StructuralPartialEq for TaskSpecNetworkAttachmentSpecInlineItem
Auto Trait Implementations
impl RefUnwindSafe for TaskSpecNetworkAttachmentSpecInlineItem
impl Send for TaskSpecNetworkAttachmentSpecInlineItem
impl Sync for TaskSpecNetworkAttachmentSpecInlineItem
impl Unpin for TaskSpecNetworkAttachmentSpecInlineItem
impl UnwindSafe for TaskSpecNetworkAttachmentSpecInlineItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more