Struct bollard::service::Swarm[][src]

pub struct Swarm {
    pub id: Option<String>,
    pub version: Option<ObjectVersion>,
    pub created_at: Option<DateTime<Utc>>,
    pub updated_at: Option<DateTime<Utc>>,
    pub spec: Option<SwarmSpec>,
    pub tls_info: Option<TlsInfo>,
    pub root_rotation_in_progress: Option<bool>,
    pub data_path_port: Option<u32>,
    pub default_addr_pool: Option<Vec<String, Global>>,
    pub subnet_size: Option<u32>,
    pub join_tokens: Option<JoinTokens>,
}

Fields

id: Option<String>

The ID of the swarm.

version: Option<ObjectVersion>created_at: Option<DateTime<Utc>>

Date and time at which the swarm was initialised in RFC 3339 format with nano-seconds.

updated_at: Option<DateTime<Utc>>

Date and time at which the swarm was last updated in RFC 3339 format with nano-seconds.

spec: Option<SwarmSpec>tls_info: Option<TlsInfo>root_rotation_in_progress: Option<bool>

Whether there is currently a root CA rotation in progress for the swarm

data_path_port: Option<u32>

DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used.

default_addr_pool: Option<Vec<String, Global>>

Default Address Pool specifies default subnet pools for global scope networks.

subnet_size: Option<u32>

SubnetSize specifies the subnet size of the networks created from the default subnet pool.

join_tokens: Option<JoinTokens>

Trait Implementations

impl Clone for Swarm[src]

impl Debug for Swarm[src]

impl Default for Swarm[src]

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

impl PartialEq<Swarm> for Swarm[src]

impl Serialize for Swarm[src]

impl StructuralPartialEq for Swarm[src]

Auto Trait Implementations

impl RefUnwindSafe for Swarm

impl Send for Swarm

impl Sync for Swarm

impl Unpin for Swarm

impl UnwindSafe for Swarm

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.