pub struct Snapshot {
pub version_id: Uuid,
pub timestamp: DateTime<Utc>,
pub versions_since: u32,
}
Expand description
Metadata about a snapshot, not including the snapshot data itself.
Fields§
§version_id: Uuid
ID of the version at which this snapshot was made
timestamp: DateTime<Utc>
Timestamp at which this snapshot was set
versions_since: u32
Number of versions since this snapshot was made
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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