pub struct SnapshotInfo {
pub manifest_version: u64,
pub files: u64,
pub bytes: u64,
}Expand description
What a Database::snapshot captured (ADR-0050): the catalog generation and
the number of files / bytes copied.
Fields§
§manifest_version: u64The manifest version the snapshot reflects (its consistent LSN anchor).
files: u64Number of files copied into the snapshot directory.
bytes: u64Total bytes copied.
Trait Implementations§
Source§impl Clone for SnapshotInfo
impl Clone for SnapshotInfo
Source§fn clone(&self) -> SnapshotInfo
fn clone(&self) -> SnapshotInfo
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 moreimpl Copy for SnapshotInfo
Source§impl Debug for SnapshotInfo
impl Debug for SnapshotInfo
Source§impl<'de> Deserialize<'de> for SnapshotInfo
impl<'de> Deserialize<'de> for SnapshotInfo
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
impl Eq for SnapshotInfo
Source§impl PartialEq for SnapshotInfo
impl PartialEq for SnapshotInfo
Source§fn eq(&self, other: &SnapshotInfo) -> bool
fn eq(&self, other: &SnapshotInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotInfo
impl Serialize for SnapshotInfo
impl StructuralPartialEq for SnapshotInfo
Auto Trait Implementations§
impl Freeze for SnapshotInfo
impl RefUnwindSafe for SnapshotInfo
impl Send for SnapshotInfo
impl Sync for SnapshotInfo
impl Unpin for SnapshotInfo
impl UnsafeUnpin for SnapshotInfo
impl UnwindSafe for SnapshotInfo
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