pub struct CheckpointMetadata {
pub id: String,
pub name: String,
pub timestamp: u64,
pub entry_count: usize,
pub size_bytes: usize,
}Expand description
Metadata about a checkpoint
Fields§
§id: StringUnique checkpoint ID
name: StringUser-provided name
timestamp: u64Timestamp when checkpoint was created
entry_count: usizeNumber of entries in checkpoint
size_bytes: usizeSize in bytes (for file-based checkpoints)
Trait Implementations§
Source§impl Clone for CheckpointMetadata
impl Clone for CheckpointMetadata
Source§fn clone(&self) -> CheckpointMetadata
fn clone(&self) -> CheckpointMetadata
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 moreAuto Trait Implementations§
impl Freeze for CheckpointMetadata
impl RefUnwindSafe for CheckpointMetadata
impl Send for CheckpointMetadata
impl Sync for CheckpointMetadata
impl Unpin for CheckpointMetadata
impl UnwindSafe for CheckpointMetadata
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