Struct bollard::models::NetworkAttachmentConfig[][src]

pub struct NetworkAttachmentConfig {
    pub target: Option<String>,
    pub aliases: Option<Vec<String, Global>>,
    pub driver_opts: Option<HashMap<String, String, RandomState>>,
}

Specifies how a service should be attached to a particular network.

Fields

target: Option<String>

The target network for attachment. Must be a network name or ID.

aliases: Option<Vec<String, Global>>

Discoverable alternate names for the service on this network.

driver_opts: Option<HashMap<String, String, RandomState>>

Driver attachment options for the network target.

Trait Implementations

impl Clone for NetworkAttachmentConfig[src]

impl Debug for NetworkAttachmentConfig[src]

impl Default for NetworkAttachmentConfig[src]

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

impl PartialEq<NetworkAttachmentConfig> for NetworkAttachmentConfig[src]

impl Serialize for NetworkAttachmentConfig[src]

impl StructuralPartialEq for NetworkAttachmentConfig[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> Instrument 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.