pub struct PartitionSnapshot {
pub partition: i32,
pub current_leader_epoch: i32,
pub snapshot_id: SnapshotId,
pub position: i64,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
PartitionSnapshot, version 0.
Fields§
§partition: i32The partition index.
current_leader_epoch: i32The current leader epoch of the partition, -1 for unknown leader epoch.
snapshot_id: SnapshotIdThe snapshot endOffset and epoch to fetch.
position: i64The byte position within the snapshot to start fetching from.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl Clone for PartitionSnapshot
impl Clone for PartitionSnapshot
Source§fn clone(&self) -> PartitionSnapshot
fn clone(&self) -> PartitionSnapshot
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 PartitionSnapshot
impl Debug for PartitionSnapshot
Source§impl Default for PartitionSnapshot
impl Default for PartitionSnapshot
Source§impl<'de> Deserialize<'de> for PartitionSnapshot
impl<'de> Deserialize<'de> for PartitionSnapshot
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 PartitionSnapshot
impl PartialEq for PartitionSnapshot
Source§impl Readable for PartitionSnapshot
impl Readable for PartitionSnapshot
Source§impl Serialize for PartitionSnapshot
impl Serialize for PartitionSnapshot
Source§impl Writable for PartitionSnapshot
impl Writable for PartitionSnapshot
impl StructuralPartialEq for PartitionSnapshot
Auto Trait Implementations§
impl Freeze for PartitionSnapshot
impl RefUnwindSafe for PartitionSnapshot
impl Send for PartitionSnapshot
impl Sync for PartitionSnapshot
impl Unpin for PartitionSnapshot
impl UnwindSafe for PartitionSnapshot
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