Struct bollard::models::SwarmSpecTaskDefaultsLogDriver[][src]

pub struct SwarmSpecTaskDefaultsLogDriver {
    pub name: Option<String>,
    pub options: Option<HashMap<String, String, RandomState>>,
}

The log driver to use for tasks created in the orchestrator if unspecified by a service. Updating this value only affects new tasks. Existing tasks continue to use their previously configured log driver until recreated.

Fields

name: Option<String>

The log driver to use as a default for new tasks.

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

Driver-specific options for the selectd log driver, specified as key/value pairs.

Trait Implementations

impl Clone for SwarmSpecTaskDefaultsLogDriver[src]

impl Debug for SwarmSpecTaskDefaultsLogDriver[src]

impl Default for SwarmSpecTaskDefaultsLogDriver[src]

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

impl PartialEq<SwarmSpecTaskDefaultsLogDriver> for SwarmSpecTaskDefaultsLogDriver[src]

impl Serialize for SwarmSpecTaskDefaultsLogDriver[src]

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