Struct docker_api_stubs::models::SwarmInfo
source · [−]pub struct SwarmInfo {
pub cluster: Option<ClusterInfo>,
pub control_available: Option<bool>,
pub error: Option<String>,
pub local_node_state: Option<String>,
pub managers: Option<isize>,
pub node_addr: Option<String>,
pub node_id: Option<String>,
pub nodes: Option<isize>,
pub remote_managers: Option<Vec<PeerNode>>,
}
Expand description
Represents generic information about swarm.
Fields
cluster: Option<ClusterInfo>
control_available: Option<bool>
error: Option<String>
local_node_state: Option<String>
managers: Option<isize>
Total number of managers in the swarm.
node_addr: Option<String>
IP address at which this node can be reached by other nodes in the swarm.
node_id: Option<String>
Unique identifier of for this node in the swarm.
nodes: Option<isize>
Total number of nodes in the swarm.
remote_managers: Option<Vec<PeerNode>>
List of ID’s and addresses of other managers in the swarm.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SwarmInfo
impl<'de> Deserialize<'de> for SwarmInfo
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
impl StructuralPartialEq for SwarmInfo
Auto Trait Implementations
impl RefUnwindSafe for SwarmInfo
impl Send for SwarmInfo
impl Sync for SwarmInfo
impl Unpin for SwarmInfo
impl UnwindSafe for SwarmInfo
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