pub struct OperatorHealthReply {
pub healthy: Option<bool>,
pub failure_tolerance: Option<i32>,
pub servers: Option<Vec<ServerHealth>>,
}
Fields§
§healthy: Option<bool>
§failure_tolerance: Option<i32>
§servers: Option<Vec<ServerHealth>>
Implementations§
source§impl OperatorHealthReply
impl OperatorHealthReply
pub fn new() -> OperatorHealthReply
Trait Implementations§
source§impl Clone for OperatorHealthReply
impl Clone for OperatorHealthReply
source§fn clone(&self) -> OperatorHealthReply
fn clone(&self) -> OperatorHealthReply
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 OperatorHealthReply
impl Debug for OperatorHealthReply
source§impl<'de> Deserialize<'de> for OperatorHealthReply
impl<'de> Deserialize<'de> for OperatorHealthReply
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<OperatorHealthReply> for OperatorHealthReply
impl PartialEq<OperatorHealthReply> for OperatorHealthReply
source§fn eq(&self, other: &OperatorHealthReply) -> bool
fn eq(&self, other: &OperatorHealthReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.