pub struct LeaderAndIsrLiveLeader {
pub broker_id: i32,
pub host_name: String,
pub port: i32,
}
Fields§
§broker_id: i32
The leader’s broker ID.
host_name: String
The leader’s hostname.
port: i32
The leader’s port.
Trait Implementations§
Source§impl Debug for LeaderAndIsrLiveLeader
impl Debug for LeaderAndIsrLiveLeader
Source§impl Decoder for LeaderAndIsrLiveLeader
impl Decoder for LeaderAndIsrLiveLeader
Source§impl Default for LeaderAndIsrLiveLeader
impl Default for LeaderAndIsrLiveLeader
Source§impl<'de> Deserialize<'de> for LeaderAndIsrLiveLeader
impl<'de> Deserialize<'de> for LeaderAndIsrLiveLeader
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 Encoder for LeaderAndIsrLiveLeader
impl Encoder for LeaderAndIsrLiveLeader
Auto Trait Implementations§
impl Freeze for LeaderAndIsrLiveLeader
impl RefUnwindSafe for LeaderAndIsrLiveLeader
impl Send for LeaderAndIsrLiveLeader
impl Sync for LeaderAndIsrLiveLeader
impl Unpin for LeaderAndIsrLiveLeader
impl UnwindSafe for LeaderAndIsrLiveLeader
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