pub struct GraphCheckpointRecord {
pub name: String,
pub mode: String,
pub snapshot: GraphPersistSnapshot,
pub seq: u64,
pub timestamp_ns: u64,
pub format_version: u64,
}Expand description
Portable baseline record written by attach_snapshot_storage on
full-snapshot writes. Contains the full GraphPersistSnapshot plus
metadata for WAL cursor alignment.
The format_version field closes F7 (missing format_version on
WALFrame and checkpoint records).
Fields§
§name: StringGraph name (matches snapshot.name).
mode: StringSnapshot mode — "full" for baseline, "diff" reserved for future
incremental baselines.
snapshot: GraphPersistSnapshotThe complete graph state.
seq: u64WAL-tier cursor at baseline write time. Frames with frame_seq > seq are the delta.
timestamp_ns: u64Wall-clock timestamp at baseline write time.
format_version: u64Format version (F7 close).
Trait Implementations§
Source§impl Clone for GraphCheckpointRecord
impl Clone for GraphCheckpointRecord
Source§fn clone(&self) -> GraphCheckpointRecord
fn clone(&self) -> GraphCheckpointRecord
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 moreSource§impl Debug for GraphCheckpointRecord
impl Debug for GraphCheckpointRecord
Source§impl<'de> Deserialize<'de> for GraphCheckpointRecord
impl<'de> Deserialize<'de> for GraphCheckpointRecord
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 GraphCheckpointRecord
impl RefUnwindSafe for GraphCheckpointRecord
impl Send for GraphCheckpointRecord
impl Sync for GraphCheckpointRecord
impl Unpin for GraphCheckpointRecord
impl UnsafeUnpin for GraphCheckpointRecord
impl UnwindSafe for GraphCheckpointRecord
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