pub struct PartitionSnapshot {
pub partition: String,
pub log_start: i64,
pub high_watermark: i64,
pub entry_count: usize,
pub entries: Vec<IndexEntry>,
}Expand description
One partition’s index bounds and entries.
Fields§
§partition: StringPartition key string.
log_start: i64First readable offset.
high_watermark: i64Next offset to assign (high watermark).
entry_count: usizeNumber of index entries.
entries: Vec<IndexEntry>Ordered index entries (may be large; CLI can omit via flag).
Trait Implementations§
Source§impl Clone for PartitionSnapshot
impl Clone for PartitionSnapshot
Source§impl Debug for PartitionSnapshot
impl Debug 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
Auto Trait Implementations§
impl Freeze for PartitionSnapshot
impl RefUnwindSafe for PartitionSnapshot
impl Send for PartitionSnapshot
impl Sync for PartitionSnapshot
impl Unpin for PartitionSnapshot
impl UnsafeUnpin 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