pub struct HeartbeatPartition {
pub partition: PartitionId,
pub leader_epoch: u64,
pub high_watermark: u64,
}Expand description
Partition info in heartbeat
Fields§
§partition: PartitionId§leader_epoch: u64§high_watermark: u64Trait Implementations§
Source§impl Clone for HeartbeatPartition
impl Clone for HeartbeatPartition
Source§fn clone(&self) -> HeartbeatPartition
fn clone(&self) -> HeartbeatPartition
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 HeartbeatPartition
impl Debug for HeartbeatPartition
Source§impl<'de> Deserialize<'de> for HeartbeatPartition
impl<'de> Deserialize<'de> for HeartbeatPartition
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 HeartbeatPartition
impl RefUnwindSafe for HeartbeatPartition
impl Send for HeartbeatPartition
impl Sync for HeartbeatPartition
impl Unpin for HeartbeatPartition
impl UnsafeUnpin for HeartbeatPartition
impl UnwindSafe for HeartbeatPartition
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