pub struct Host {
pub host: String,
pub port: u16,
pub status: String,
pub leader_count: u64,
pub leader_distribution: String,
pub partition_distribution: String,
pub version: String,
}
Fields§
§host: String
§port: u16
§status: String
§leader_count: u64
§leader_distribution: String
§partition_distribution: String
§version: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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