pub struct ClusterHealthResponse {Show 13 fields
pub status: String,
pub version: String,
pub build_date: String,
pub is_cluster_mode: bool,
pub cluster_id: String,
pub node_id: u64,
pub is_leader: bool,
pub total_groups: u32,
pub groups_leading: u32,
pub current_term: u64,
pub last_applied: Option<u64>,
pub millis_since_quorum_ack: Option<u64>,
pub nodes: Vec<ClusterNodeHealth>,
}Expand description
Cluster health response from the server.
Fields§
§status: String§version: String§build_date: String§is_cluster_mode: bool§cluster_id: String§node_id: u64§is_leader: bool§total_groups: u32§groups_leading: u32§current_term: u64§last_applied: Option<u64>§millis_since_quorum_ack: Option<u64>§nodes: Vec<ClusterNodeHealth>Trait Implementations§
Source§impl Clone for ClusterHealthResponse
impl Clone for ClusterHealthResponse
Source§fn clone(&self) -> ClusterHealthResponse
fn clone(&self) -> ClusterHealthResponse
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 ClusterHealthResponse
impl Debug for ClusterHealthResponse
Source§impl<'de> Deserialize<'de> for ClusterHealthResponse
impl<'de> Deserialize<'de> for ClusterHealthResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterHealthResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterHealthResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ClusterHealthResponse
impl Serialize for ClusterHealthResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ClusterHealthResponse
impl RefUnwindSafe for ClusterHealthResponse
impl Send for ClusterHealthResponse
impl Sync for ClusterHealthResponse
impl Unpin for ClusterHealthResponse
impl UnsafeUnpin for ClusterHealthResponse
impl UnwindSafe for ClusterHealthResponse
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