pub struct ProduceLeaderIdAndEpochV10 {
pub leader_id: i32,
pub leader_epoch: i32,
}Expand description
The current partition leader advertised by Produce response v10 and newer.
Fields§
§leader_id: i32§leader_epoch: i32Trait Implementations§
Source§impl Clone for ProduceLeaderIdAndEpochV10
impl Clone for ProduceLeaderIdAndEpochV10
Source§fn clone(&self) -> ProduceLeaderIdAndEpochV10
fn clone(&self) -> ProduceLeaderIdAndEpochV10
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProduceLeaderIdAndEpochV10
Source§impl Debug for ProduceLeaderIdAndEpochV10
impl Debug for ProduceLeaderIdAndEpochV10
impl Eq for ProduceLeaderIdAndEpochV10
impl StructuralPartialEq for ProduceLeaderIdAndEpochV10
Auto Trait Implementations§
impl Freeze for ProduceLeaderIdAndEpochV10
impl RefUnwindSafe for ProduceLeaderIdAndEpochV10
impl Send for ProduceLeaderIdAndEpochV10
impl Sync for ProduceLeaderIdAndEpochV10
impl Unpin for ProduceLeaderIdAndEpochV10
impl UnsafeUnpin for ProduceLeaderIdAndEpochV10
impl UnwindSafe for ProduceLeaderIdAndEpochV10
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