Struct bollard_stubs::models::SwarmInfo[][src]

pub struct SwarmInfo {
    pub node_id: Option<String>,
    pub node_addr: Option<String>,
    pub local_node_state: Option<LocalNodeState>,
    pub control_available: Option<bool>,
    pub error: Option<String>,
    pub remote_managers: Option<Vec<PeerNode>>,
    pub nodes: Option<i64>,
    pub managers: Option<i64>,
    pub cluster: Option<ClusterInfo>,
}

Represents generic information about swarm.

Fields

node_id: Option<String>

Unique identifier of for this node in the swarm.

node_addr: Option<String>

IP address at which this node can be reached by other nodes in the swarm.

local_node_state: Option<LocalNodeState>control_available: Option<bool>error: Option<String>remote_managers: Option<Vec<PeerNode>>

List of ID’s and addresses of other managers in the swarm.

nodes: Option<i64>

Total number of nodes in the swarm.

managers: Option<i64>

Total number of managers in the swarm.

cluster: Option<ClusterInfo>

Trait Implementations

impl Clone for SwarmInfo[src]

impl Debug for SwarmInfo[src]

impl Default for SwarmInfo[src]

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

impl PartialEq<SwarmInfo> for SwarmInfo[src]

impl Serialize for SwarmInfo[src]

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