Enum docker_api_stubs::models::NodeState
source · [−]pub enum NodeState {
Unknown,
Down,
Ready,
Disconnected,
}
Expand description
NodeState represents the state of a node.
Variants
Unknown
Down
Ready
Disconnected
Trait Implementations
sourceimpl<'de> Deserialize<'de> for NodeState
impl<'de> Deserialize<'de> for NodeState
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 NodeState
Auto Trait Implementations
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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