pub struct SnapshotRoot {
pub id: Vec<u8>,
pub name: Vec<u8>,
pub tree: Tree,
pub created_at_millis: Option<u64>,
pub updated_at_millis: Option<u64>,
}Expand description
A snapshot root with namespace-local id and manifest metadata.
Fields§
§id: Vec<u8>Namespace-local snapshot id.
name: Vec<u8>Full durable named-root key.
tree: TreeTree stored under this snapshot.
created_at_millis: Option<u64>Optional creation timestamp from the root manifest.
updated_at_millis: Option<u64>Optional update timestamp from the root manifest.
Trait Implementations§
Source§impl Clone for SnapshotRoot
impl Clone for SnapshotRoot
Source§fn clone(&self) -> SnapshotRoot
fn clone(&self) -> SnapshotRoot
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 SnapshotRoot
impl Debug for SnapshotRoot
Source§impl PartialEq for SnapshotRoot
impl PartialEq for SnapshotRoot
impl StructuralPartialEq for SnapshotRoot
Auto Trait Implementations§
impl Freeze for SnapshotRoot
impl RefUnwindSafe for SnapshotRoot
impl Send for SnapshotRoot
impl Sync for SnapshotRoot
impl Unpin for SnapshotRoot
impl UnsafeUnpin for SnapshotRoot
impl UnwindSafe for SnapshotRoot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more