pub struct SnapshotMeta {
pub schema_version: u32,
pub created_ts: u64,
pub wal_head: String,
pub event_count: usize,
pub chunks: Vec<ChunkInfo>,
}Expand description
Metadata stored in each snapshot commit
Fields§
§schema_version: u32§created_ts: u64§wal_head: String§event_count: usize§chunks: Vec<ChunkInfo>Trait Implementations§
Source§impl Debug for SnapshotMeta
impl Debug for SnapshotMeta
Source§impl<'de> Deserialize<'de> for SnapshotMeta
impl<'de> Deserialize<'de> for SnapshotMeta
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 SnapshotMeta
impl RefUnwindSafe for SnapshotMeta
impl Send for SnapshotMeta
impl Sync for SnapshotMeta
impl Unpin for SnapshotMeta
impl UnsafeUnpin for SnapshotMeta
impl UnwindSafe for SnapshotMeta
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