Struct bollard_stubs::models::NodeStatus
source · pub struct NodeStatus {
pub state: Option<NodeState>,
pub message: Option<String>,
pub addr: Option<String>,
}
Expand description
NodeStatus represents the status of a node. It provides the current status of the node, as seen by the manager.
Fields§
§state: Option<NodeState>
§message: Option<String>
§addr: Option<String>
IP address of the node.
Trait Implementations§
source§impl Clone for NodeStatus
impl Clone for NodeStatus
source§fn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeStatus
impl Debug for NodeStatus
source§impl Default for NodeStatus
impl Default for NodeStatus
source§fn default() -> NodeStatus
fn default() -> NodeStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeStatus
impl<'de> Deserialize<'de> for NodeStatus
source§fn 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
source§impl PartialEq<NodeStatus> for NodeStatus
impl PartialEq<NodeStatus> for NodeStatus
source§fn eq(&self, other: &NodeStatus) -> bool
fn eq(&self, other: &NodeStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.