pub struct LeaderIdAndEpoch {
pub leader_id: i32,
pub leader_epoch: i32,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§leader_id: i32
The ID of the current leader or -1 if the leader is unknown.
leader_epoch: i32
The latest known leader epoch
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
Source§impl Clone for LeaderIdAndEpoch
impl Clone for LeaderIdAndEpoch
Source§fn clone(&self) -> LeaderIdAndEpoch
fn clone(&self) -> LeaderIdAndEpoch
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 LeaderIdAndEpoch
impl Debug for LeaderIdAndEpoch
Source§impl Default for LeaderIdAndEpoch
impl Default for LeaderIdAndEpoch
Auto Trait Implementations§
impl Freeze for LeaderIdAndEpoch
impl RefUnwindSafe for LeaderIdAndEpoch
impl Send for LeaderIdAndEpoch
impl Sync for LeaderIdAndEpoch
impl Unpin for LeaderIdAndEpoch
impl UnwindSafe for LeaderIdAndEpoch
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