pub struct ClusterDiscovery {
pub cluster_id: String,
pub nodes: Vec<ClusterDiscoveryNode>,
}Expand description
Information about a cluster and all existing nodes within.
Fields§
§cluster_id: StringID of the cluster.
nodes: Vec<ClusterDiscoveryNode>List of all the nodes in the cluster.
Trait Implementations§
Source§impl Clone for ClusterDiscovery
impl Clone for ClusterDiscovery
Source§fn clone(&self) -> ClusterDiscovery
fn clone(&self) -> ClusterDiscovery
Returns a duplicate 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 ClusterDiscovery
impl Debug for ClusterDiscovery
Source§impl<'de> Deserialize<'de> for ClusterDiscovery
impl<'de> Deserialize<'de> for ClusterDiscovery
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 Hash for ClusterDiscovery
impl Hash for ClusterDiscovery
Source§impl PartialEq for ClusterDiscovery
impl PartialEq for ClusterDiscovery
Source§impl Serialize for ClusterDiscovery
impl Serialize for ClusterDiscovery
impl Eq for ClusterDiscovery
impl StructuralPartialEq for ClusterDiscovery
Auto Trait Implementations§
impl Freeze for ClusterDiscovery
impl RefUnwindSafe for ClusterDiscovery
impl Send for ClusterDiscovery
impl Sync for ClusterDiscovery
impl Unpin for ClusterDiscovery
impl UnwindSafe for ClusterDiscovery
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