Struct docker_api_stubs::models::ManagerStatus
source · [−]pub struct ManagerStatus {
pub addr: Option<String>,
pub leader: Option<bool>,
pub reachability: Option<String>,
}
Expand description
ManagerStatus represents the status of a manager.
It provides the current status of a node’s manager component, if the node is a manager.
Fields
addr: Option<String>
The IP address and port at which the manager is reachable.
leader: Option<bool>
reachability: Option<String>
Trait Implementations
sourceimpl Clone for ManagerStatus
impl Clone for ManagerStatus
sourcefn clone(&self) -> ManagerStatus
fn clone(&self) -> ManagerStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ManagerStatus
impl Debug for ManagerStatus
sourceimpl<'de> Deserialize<'de> for ManagerStatus
impl<'de> Deserialize<'de> for ManagerStatus
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
sourceimpl PartialEq<ManagerStatus> for ManagerStatus
impl PartialEq<ManagerStatus> for ManagerStatus
sourcefn eq(&self, other: &ManagerStatus) -> bool
fn eq(&self, other: &ManagerStatus) -> bool
sourceimpl Serialize for ManagerStatus
impl Serialize for ManagerStatus
impl StructuralPartialEq for ManagerStatus
Auto Trait Implementations
impl RefUnwindSafe for ManagerStatus
impl Send for ManagerStatus
impl Sync for ManagerStatus
impl Unpin for ManagerStatus
impl UnwindSafe for ManagerStatus
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