pub struct ClusterNode {
pub node_id: NodeId,
pub client_url: String,
pub cluster_url: String,
pub state: NodeState,
pub registered_at_ms: u64,
pub updated_at_ms: u64,
pub labels: BTreeMap<String, String>,
}Fields§
§node_id: NodeId§client_url: String§cluster_url: String§state: NodeState§registered_at_ms: u64§updated_at_ms: u64§labels: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for ClusterNode
impl Clone for ClusterNode
Source§fn clone(&self) -> ClusterNode
fn clone(&self) -> ClusterNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClusterNode
impl Debug for ClusterNode
Source§impl<'de> Deserialize<'de> for ClusterNode
impl<'de> Deserialize<'de> for ClusterNode
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
impl Eq for ClusterNode
Source§impl PartialEq for ClusterNode
impl PartialEq for ClusterNode
Source§fn eq(&self, other: &ClusterNode) -> bool
fn eq(&self, other: &ClusterNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClusterNode
impl Serialize for ClusterNode
impl StructuralPartialEq for ClusterNode
Auto Trait Implementations§
impl Freeze for ClusterNode
impl RefUnwindSafe for ClusterNode
impl Send for ClusterNode
impl Sync for ClusterNode
impl Unpin for ClusterNode
impl UnsafeUnpin for ClusterNode
impl UnwindSafe for ClusterNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more