pub struct SnapshotNames {
pub labels: Vec<Name>,
pub types: Vec<Name>,
pub keys: Vec<Name>,
pub values: ValueDictionary,
}Expand description
The dictionaries a graph numbers its records with, in number order.
A snapshot writer names records by these numbers, and a
SnapshotGraphBuilder primed with them (SnapshotGraphBuilder::prime)
encodes records on any thread.
Fields§
§labels: Vec<Name>§types: Vec<Name>§keys: Vec<Name>§values: ValueDictionaryWhich short string values the graph stores by number.
Trait Implementations§
Source§impl Clone for SnapshotNames
impl Clone for SnapshotNames
Source§impl Debug for SnapshotNames
impl Debug for SnapshotNames
Source§impl Default for SnapshotNames
impl Default for SnapshotNames
impl Eq for SnapshotNames
Source§impl PartialEq for SnapshotNames
impl PartialEq for SnapshotNames
impl StructuralPartialEq for SnapshotNames
Auto Trait Implementations§
impl Freeze for SnapshotNames
impl RefUnwindSafe for SnapshotNames
impl Send for SnapshotNames
impl Sync for SnapshotNames
impl Unpin for SnapshotNames
impl UnsafeUnpin for SnapshotNames
impl UnwindSafe for SnapshotNames
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