pub struct LeaderIdAndEpoch {
pub leader_id: i32,
pub leader_epoch: i32,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
LeaderIdAndEpoch, version 0.
Fields§
§leader_id: i32The ID of the current leader or -1 if the leader is unknown.
leader_epoch: i32The latest known leader epoch.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl Clone for LeaderIdAndEpoch
impl Clone for LeaderIdAndEpoch
Source§fn clone(&self) -> LeaderIdAndEpoch
fn clone(&self) -> LeaderIdAndEpoch
Returns a duplicate 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
Source§impl<'de> Deserialize<'de> for LeaderIdAndEpoch
impl<'de> Deserialize<'de> for LeaderIdAndEpoch
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 for LeaderIdAndEpoch
impl PartialEq for LeaderIdAndEpoch
Source§impl Readable for LeaderIdAndEpoch
impl Readable for LeaderIdAndEpoch
Source§impl Serialize for LeaderIdAndEpoch
impl Serialize for LeaderIdAndEpoch
Source§impl Writable for LeaderIdAndEpoch
impl Writable for LeaderIdAndEpoch
impl StructuralPartialEq 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