pub struct MapVersion {
pub id: MapVersionId,
pub tree: Tree,
pub created_at_millis: Option<u64>,
pub is_head: bool,
}Expand description
One durable snapshot in a versioned map.
Fields§
§id: MapVersionIdContent-derived version identifier.
tree: TreeImmutable tree handle for this version.
created_at_millis: Option<u64>Creation timestamp recorded by the version root, when available.
is_head: boolWhether this snapshot is the index’s current head.
Trait Implementations§
Source§impl Clone for MapVersion
impl Clone for MapVersion
Source§fn clone(&self) -> MapVersion
fn clone(&self) -> MapVersion
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 MapVersion
impl Debug for MapVersion
Source§impl PartialEq for MapVersion
impl PartialEq for MapVersion
impl StructuralPartialEq for MapVersion
Auto Trait Implementations§
impl Freeze for MapVersion
impl RefUnwindSafe for MapVersion
impl Send for MapVersion
impl Sync for MapVersion
impl Unpin for MapVersion
impl UnsafeUnpin for MapVersion
impl UnwindSafe for MapVersion
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