pub struct MetadataStore<ObjKey, N, K, L, W, WV, A, AV>where
ObjKey: Key,
N: Field,
K: Field,
L: Field,
W: Field,
WV: WeightValue,
A: Field,
AV: AnnotationValue,{ /* private fields */ }Expand description
Metadata store that holds metadata for externally defined objects.
Implementations§
Source§impl<ObjKey, N, K, L, W, WV, A, AV> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>where
ObjKey: Key,
N: Field,
K: Field,
L: Field,
W: Field,
WV: WeightValue,
A: Field,
AV: AnnotationValue,
impl<ObjKey, N, K, L, W, WV, A, AV> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>where
ObjKey: Key,
N: Field,
K: Field,
L: Field,
W: Field,
WV: WeightValue,
A: Field,
AV: AnnotationValue,
Sourcepub fn builder() -> MetadataStoreBuilder<ObjKey, N, K, L, W, WV, A, AV>
pub fn builder() -> MetadataStoreBuilder<ObjKey, N, K, L, W, WV, A, AV>
Create an instance of MetadataStore using the builder syntax
Source§impl<ObjKey, N, K, L, W, WV, A, AV> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>where
ObjKey: Key,
N: Field,
K: Field,
L: Field,
W: Field,
WV: WeightValue,
A: Field,
AV: AnnotationValue,
impl<ObjKey, N, K, L, W, WV, A, AV> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>where
ObjKey: Key,
N: Field,
K: Field,
L: Field,
W: Field,
WV: WeightValue,
A: Field,
AV: AnnotationValue,
Sourcepub fn add(&mut self) -> (ObjKey, Uuid)
pub fn add(&mut self) -> (ObjKey, Uuid)
Add an object to the store by registering an ID for it. Returns the internally used key as well as the ID itself.
Sourcepub fn try_insert(
&mut self,
meta: Metadata<N, K, L, W, WV, A, AV>,
) -> Result<ObjKey, Error>
pub fn try_insert( &mut self, meta: Metadata<N, K, L, W, WV, A, AV>, ) -> Result<ObjKey, Error>
Try to insert a metadata object, returns an error if the ID already exists.
Sourcepub fn insert(&mut self, meta: Metadata<N, K, L, W, WV, A, AV>) -> ObjKey
pub fn insert(&mut self, meta: Metadata<N, K, L, W, WV, A, AV>) -> ObjKey
Insert a metadata object. Overrides any existing metadata.
Sourcepub fn try_apply<Id: AsRef<Uuid>>(
&mut self,
id: Id,
tx: Transaction<N, K, L, W, WV, A, AV>,
) -> Result<(), Error>
pub fn try_apply<Id: AsRef<Uuid>>( &mut self, id: Id, tx: Transaction<N, K, L, W, WV, A, AV>, ) -> Result<(), Error>
Apply a transaction to an object using named metadata fields. Raises an error if the ID does not exist and when the new ID as supplied in the transaction already exists for another object.
Sourcepub fn apply(&mut self, obj: ObjKey, tx: Transaction<N, K, L, W, WV, A, AV>)
pub fn apply(&mut self, obj: ObjKey, tx: Transaction<N, K, L, W, WV, A, AV>)
Apply a transaction to an object using named metadata fields. Assumes any potential ID update is valid.
Sourcepub fn try_apply_keyed(
&mut self,
obj: ObjKey,
tx: Transaction<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>,
) -> Result<(), Error>
pub fn try_apply_keyed( &mut self, obj: ObjKey, tx: Transaction<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>, ) -> Result<(), Error>
Apply a transaction to an object based on internal keys representing metadata fields. Raises an error if a potential new ID as supplied in the transaction already exists for another object.
Sourcepub fn apply_keyed(
&mut self,
obj: ObjKey,
tx: Transaction<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>,
)
pub fn apply_keyed( &mut self, obj: ObjKey, tx: Transaction<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>, )
Apply a transaction to an object based on internal keys representing metadata field. Assumes any potential ID update is valid.
Sourcepub fn intern_name(&mut self, name: Cow<'_, N>) -> NameKey
pub fn intern_name(&mut self, name: Cow<'_, N>) -> NameKey
Intern a name. Returns the internally used key for that name.
Sourcepub fn forget_name(&mut self, name: &N) -> Option<NameKey>
pub fn forget_name(&mut self, name: &N) -> Option<NameKey>
Forget a name entirely. Removes it from any object it was attached to.
Sourcepub fn forget_name_key(&mut self, name: NameKey) -> Option<N>
pub fn forget_name_key(&mut self, name: NameKey) -> Option<N>
Forget a name entirely (by key). Removes it from any object it was attached to.
Sourcepub fn set_object_name<Id: AsRef<Uuid>>(&mut self, id: Id, name: &N)
pub fn set_object_name<Id: AsRef<Uuid>>(&mut self, id: Id, name: &N)
Apply a name to an object.
Sourcepub fn set_object_name_key(&mut self, obj: ObjKey, name: NameKey)
pub fn set_object_name_key(&mut self, obj: ObjKey, name: NameKey)
Apply a name to an object using internally used keys.
Sourcepub fn remove_object_name<Id: AsRef<Uuid>>(&mut self, id: Id) -> Option<&N>
pub fn remove_object_name<Id: AsRef<Uuid>>(&mut self, id: Id) -> Option<&N>
Strip an objects name value.
Sourcepub fn remove_object_name_key(&mut self, obj: ObjKey) -> Option<NameKey>
pub fn remove_object_name_key(&mut self, obj: ObjKey) -> Option<NameKey>
Strip an objects name value by means of the internally used keys.
Sourcepub fn intern_kind(&mut self, kind: Cow<'_, K>) -> KindKey
pub fn intern_kind(&mut self, kind: Cow<'_, K>) -> KindKey
Intern a kind. Returns the internally used key for that kind.
Sourcepub fn forget_kind(&mut self, kind: &K) -> Option<KindKey>
pub fn forget_kind(&mut self, kind: &K) -> Option<KindKey>
Forget a kind entirely. Removes it from any object it was attached to.
Sourcepub fn forget_kind_key(&mut self, kind: KindKey) -> Option<K>
pub fn forget_kind_key(&mut self, kind: KindKey) -> Option<K>
Forget a kind entirely (by key). Removes it from any object it was attached to.
Sourcepub fn set_object_kind<Id: AsRef<Uuid>>(&mut self, id: Id, kind: &K)
pub fn set_object_kind<Id: AsRef<Uuid>>(&mut self, id: Id, kind: &K)
Apply a kind to an object.
Sourcepub fn set_object_kind_key(&mut self, obj: ObjKey, kind: KindKey)
pub fn set_object_kind_key(&mut self, obj: ObjKey, kind: KindKey)
Apply a kind to an object using internally used keys.
Sourcepub fn remove_object_kind<Id: AsRef<Uuid>>(&mut self, id: Id) -> Option<&K>
pub fn remove_object_kind<Id: AsRef<Uuid>>(&mut self, id: Id) -> Option<&K>
Strip an object’s kind value.
Sourcepub fn remove_object_kind_key(&mut self, obj: ObjKey) -> Option<KindKey>
pub fn remove_object_kind_key(&mut self, obj: ObjKey) -> Option<KindKey>
Strip an object’s kind value by means of the internally used keys.
Sourcepub fn intern_label(&mut self, label: Cow<'_, L>) -> LabelKey
pub fn intern_label(&mut self, label: Cow<'_, L>) -> LabelKey
Intern a label. Returns the internally used key for that label.
Sourcepub fn forget_label(&mut self, label: &L) -> Option<LabelKey>
pub fn forget_label(&mut self, label: &L) -> Option<LabelKey>
Forget a label entirely. Removes it from any object it was attached to.
Sourcepub fn forget_label_key(&mut self, label: LabelKey) -> Option<L>
pub fn forget_label_key(&mut self, label: LabelKey) -> Option<L>
Forget a label entirely (by key). Removes it from any object it was attached to.
Sourcepub fn set_object_label<Id: AsRef<Uuid>>(&mut self, id: Id, label: &L)
pub fn set_object_label<Id: AsRef<Uuid>>(&mut self, id: Id, label: &L)
Apply a label to an object.
Sourcepub fn set_object_label_key(&mut self, obj: ObjKey, label: LabelKey)
pub fn set_object_label_key(&mut self, obj: ObjKey, label: LabelKey)
Apply a label to an object by using internally used keys.
Sourcepub fn remove_object_label<Id: AsRef<Uuid>>(&mut self, id: Id, label: &L)
pub fn remove_object_label<Id: AsRef<Uuid>>(&mut self, id: Id, label: &L)
Strip a label from an object.
Sourcepub fn strip_label_key(&mut self, obj: ObjKey, label: LabelKey)
pub fn strip_label_key(&mut self, obj: ObjKey, label: LabelKey)
Strip a label from an object by using internally used keys.
Sourcepub fn intern_weight(&mut self, weight: Cow<'_, W>) -> WeightKey
pub fn intern_weight(&mut self, weight: Cow<'_, W>) -> WeightKey
Intern a weight. Returns the internally used key.
Sourcepub fn forget_weight(&mut self, weight: &W) -> Option<WeightKey>
pub fn forget_weight(&mut self, weight: &W) -> Option<WeightKey>
Forget a weight field entirely. Removes it from any object it was attached to. Returns forgotten object-value pairs.
Sourcepub fn forget_weight_key(&mut self, weight: WeightKey) -> Option<W>
pub fn forget_weight_key(&mut self, weight: WeightKey) -> Option<W>
Forget a weight field entirely (by key). Removes it from any object it was attached to. Returns forgotten object-value pairs.
Sourcepub fn set_object_weight<Id: AsRef<Uuid>>(
&mut self,
id: Id,
weight: &W,
value: WV,
) -> Option<WV>
pub fn set_object_weight<Id: AsRef<Uuid>>( &mut self, id: Id, weight: &W, value: WV, ) -> Option<WV>
Apply a weight value to an object. Returns the previous value if any.
Sourcepub fn set_object_weight_key(
&mut self,
obj: ObjKey,
key: WeightKey,
value: WV,
) -> Option<WV>
pub fn set_object_weight_key( &mut self, obj: ObjKey, key: WeightKey, value: WV, ) -> Option<WV>
Apply a weight value to an object using internally used keys. Returns the previous value if any.
Sourcepub fn remove_object_weight<Id: AsRef<Uuid>>(
&mut self,
id: Id,
weight: &W,
) -> Option<WV>
pub fn remove_object_weight<Id: AsRef<Uuid>>( &mut self, id: Id, weight: &W, ) -> Option<WV>
Strip a weight value from an object.
Sourcepub fn remove_object_weight_key(
&mut self,
obj: ObjKey,
weight: WeightKey,
) -> Option<WV>
pub fn remove_object_weight_key( &mut self, obj: ObjKey, weight: WeightKey, ) -> Option<WV>
Strip a weight value from an object using internally used keys.
Sourcepub fn intern_annotation(&mut self, annotation: Cow<'_, A>) -> AnnotationKey
pub fn intern_annotation(&mut self, annotation: Cow<'_, A>) -> AnnotationKey
Intern an annotation. Returns the internally used key.
Sourcepub fn forget_annotation(&mut self, annotation: &A) -> Option<AnnotationKey>
pub fn forget_annotation(&mut self, annotation: &A) -> Option<AnnotationKey>
Forget an annotation field entirely. Removes it from any object it was attached to. Returns forgotten object-value pairs.
Sourcepub fn forget_annotation_key(&mut self, key: AnnotationKey) -> Option<A>
pub fn forget_annotation_key(&mut self, key: AnnotationKey) -> Option<A>
Forget an annotation field entirely. Removes it from any object it was attached to. Returns forgotten object-value pairs.
Sourcepub fn set_object_annotation<Id: AsRef<Uuid>>(
&mut self,
id: Id,
annotation: &A,
value: AV,
) -> Option<AV>
pub fn set_object_annotation<Id: AsRef<Uuid>>( &mut self, id: Id, annotation: &A, value: AV, ) -> Option<AV>
Apply an annotation value to an object. Returns the previous value if any.
Sourcepub fn set_object_annotation_key(
&mut self,
obj: ObjKey,
key: AnnotationKey,
value: AV,
) -> Option<AV>
pub fn set_object_annotation_key( &mut self, obj: ObjKey, key: AnnotationKey, value: AV, ) -> Option<AV>
Apply a annotation value to an object using internally used keys. Returns the previous value if any.
Sourcepub fn remove_object_annotation<Id: AsRef<Uuid>>(
&mut self,
id: Id,
annotation: &A,
) -> Option<AV>
pub fn remove_object_annotation<Id: AsRef<Uuid>>( &mut self, id: Id, annotation: &A, ) -> Option<AV>
Strip an annotation value from an object.
Sourcepub fn remove_object_annotation_key(
&mut self,
obj: ObjKey,
annotation: AnnotationKey,
) -> Option<AV>
pub fn remove_object_annotation_key( &mut self, obj: ObjKey, annotation: AnnotationKey, ) -> Option<AV>
Strip an annotation value from an object using internally used keys.
Sourcepub fn remove_object<Id: AsRef<Uuid>>(&mut self, id: Id) -> bool
pub fn remove_object<Id: AsRef<Uuid>>(&mut self, id: Id) -> bool
Remove an object from the store by its ID. Returns if any metadata was held apart from its ID.
Sourcepub fn remove_object_key(&mut self, obj: ObjKey) -> bool
pub fn remove_object_key(&mut self, obj: ObjKey) -> bool
Remove an object from the store by its key. Returns if it was removed.
Sourcepub fn object_meta_named<'a, Id: AsRef<Uuid>>(
&'a self,
id: Id,
) -> Option<MetadataRef<'a, N, K, L, W, WV, A, AV>>
pub fn object_meta_named<'a, Id: AsRef<Uuid>>( &'a self, id: Id, ) -> Option<MetadataRef<'a, N, K, L, W, WV, A, AV>>
Get a metadata object with references to the field names.
Sourcepub fn object_meta_keyed(
&self,
obj: ObjKey,
) -> Option<Metadata<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>>
pub fn object_meta_keyed( &self, obj: ObjKey, ) -> Option<Metadata<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>>
Get a metadata object expressed as internal field keys.
Sourcepub fn object_keys(&self) -> impl Iterator<Item = ObjKey>
pub fn object_keys(&self) -> impl Iterator<Item = ObjKey>
All object keys in store.
Sourcepub fn object_ids(&self) -> impl Iterator<Item = &Uuid>
pub fn object_ids(&self) -> impl Iterator<Item = &Uuid>
All object IDs in store.
Sourcepub fn object_key_id_pairs(&self) -> impl Iterator<Item = (ObjKey, &Uuid)>
pub fn object_key_id_pairs(&self) -> impl Iterator<Item = (ObjKey, &Uuid)>
Iterator over all object key-ID pairs.
Sourcepub fn object_key<Id: AsRef<Uuid>>(&self, id: Id) -> Option<ObjKey>
pub fn object_key<Id: AsRef<Uuid>>(&self, id: Id) -> Option<ObjKey>
Get the key of an object from its ID.
Sourcepub fn name_store(&self) -> &NameStore<ObjKey, N>
pub fn name_store(&self) -> &NameStore<ObjKey, N>
Read-only access to the name interner.
Sourcepub fn name_field_names(&self) -> impl Iterator<Item = &N>
pub fn name_field_names(&self) -> impl Iterator<Item = &N>
Get all interned name field values.
Sourcepub fn name_field_keys(&self) -> impl Iterator<Item = NameKey>
pub fn name_field_keys(&self) -> impl Iterator<Item = NameKey>
Get all interned name field keys.
Sourcepub fn name_field_items(&self) -> impl Iterator<Item = (NameKey, &N)>
pub fn name_field_items(&self) -> impl Iterator<Item = (NameKey, &N)>
Get all interned name field key-name pairs.
Sourcepub fn objects_with_name(&self, name: &N) -> impl Iterator<Item = Uuid>
pub fn objects_with_name(&self, name: &N) -> impl Iterator<Item = Uuid>
Get all objects with the given name and return their ID.
Sourcepub fn objects_with_name_key(
&self,
name: NameKey,
) -> impl Iterator<Item = ObjKey>
pub fn objects_with_name_key( &self, name: NameKey, ) -> impl Iterator<Item = ObjKey>
Get all objects with the given internal name key and return their internal key.
Sourcepub fn object_name<Id: AsRef<Uuid>>(&self, id: Id) -> Option<&N>
pub fn object_name<Id: AsRef<Uuid>>(&self, id: Id) -> Option<&N>
Get the name of an object by ID.
Sourcepub fn object_name_key(&self, obj: ObjKey) -> Option<NameKey>
pub fn object_name_key(&self, obj: ObjKey) -> Option<NameKey>
Get the interned name key of an object by internal key.
Sourcepub fn kind_store(&self) -> &KindStore<ObjKey, K>
pub fn kind_store(&self) -> &KindStore<ObjKey, K>
Read-only access to the kind store.
Sourcepub fn kind_field_names(&self) -> impl Iterator<Item = &K>
pub fn kind_field_names(&self) -> impl Iterator<Item = &K>
Get all interned kind field names.
Sourcepub fn kind_field_keys(&self) -> impl Iterator<Item = KindKey>
pub fn kind_field_keys(&self) -> impl Iterator<Item = KindKey>
Get all interned kind field keys.
Sourcepub fn kind_field_items(&self) -> impl Iterator<Item = (KindKey, &K)>
pub fn kind_field_items(&self) -> impl Iterator<Item = (KindKey, &K)>
Get all interned kind field key-name pairs.
Sourcepub fn object_kind<Id: AsRef<Uuid>>(&self, id: Id) -> Option<&K>
pub fn object_kind<Id: AsRef<Uuid>>(&self, id: Id) -> Option<&K>
Get the kind of an object by ID.
Sourcepub fn object_kind_key(&self, obj: ObjKey) -> Option<KindKey>
pub fn object_kind_key(&self, obj: ObjKey) -> Option<KindKey>
Get the interned kind key of an object by internal key.
Sourcepub fn label_store(&self) -> &LabelStore<ObjKey, L>
pub fn label_store(&self) -> &LabelStore<ObjKey, L>
Read-only access to the label store.
Sourcepub fn label_field_names(&self) -> impl Iterator<Item = &L>
pub fn label_field_names(&self) -> impl Iterator<Item = &L>
Get all interned label field names.
Sourcepub fn label_field_keys(&self) -> impl Iterator<Item = LabelKey>
pub fn label_field_keys(&self) -> impl Iterator<Item = LabelKey>
Get all interned label field keys.
Sourcepub fn label_field_items(&self) -> impl Iterator<Item = (LabelKey, &L)>
pub fn label_field_items(&self) -> impl Iterator<Item = (LabelKey, &L)>
Get all interned label field key-name pairs.
Sourcepub fn object_labels<Id: AsRef<Uuid>>(&self, id: Id) -> impl Iterator<Item = &L>
pub fn object_labels<Id: AsRef<Uuid>>(&self, id: Id) -> impl Iterator<Item = &L>
Get the labels of an object.
Sourcepub fn object_label_keys(&self, obj: ObjKey) -> Option<&BTreeSet<LabelKey>>
pub fn object_label_keys(&self, obj: ObjKey) -> Option<&BTreeSet<LabelKey>>
Get the set of interned label keys for an object.
Sourcepub fn weight_store(&self) -> &WeightStore<ObjKey, W, WV>
pub fn weight_store(&self) -> &WeightStore<ObjKey, W, WV>
Read-only access to the weight store.
Sourcepub fn weight_field_names(&self) -> impl Iterator<Item = &W>
pub fn weight_field_names(&self) -> impl Iterator<Item = &W>
Get all interned weight field names.
Sourcepub fn weight_field_keys(&self) -> impl Iterator<Item = WeightKey>
pub fn weight_field_keys(&self) -> impl Iterator<Item = WeightKey>
Get all interned weight field keys.
Sourcepub fn weight_field_items(&self) -> impl Iterator<Item = (WeightKey, &W)>
pub fn weight_field_items(&self) -> impl Iterator<Item = (WeightKey, &W)>
Get all interned weight field key-name pairs.
Sourcepub fn object_weights<Id: AsRef<Uuid>>(&self, id: Id) -> BTreeMap<&W, &WV>
pub fn object_weights<Id: AsRef<Uuid>>(&self, id: Id) -> BTreeMap<&W, &WV>
Get all weight values of an object.
Sourcepub fn object_weights_keyed(
&self,
obj: ObjKey,
) -> Option<&BTreeMap<WeightKey, WV>>
pub fn object_weights_keyed( &self, obj: ObjKey, ) -> Option<&BTreeMap<WeightKey, WV>>
Get the mapping of weights by internal field keys for an object.
Sourcepub fn object_weight<Id: AsRef<Uuid>>(&self, id: Id, weight: &W) -> Option<&WV>
pub fn object_weight<Id: AsRef<Uuid>>(&self, id: Id, weight: &W) -> Option<&WV>
Get a specific weight of an object via its name.
Sourcepub fn object_weight_by_key(
&self,
obj: ObjKey,
weight: WeightKey,
) -> Option<&WV>
pub fn object_weight_by_key( &self, obj: ObjKey, weight: WeightKey, ) -> Option<&WV>
Get a specific weight of an object via its internal key.
Sourcepub fn annotation_store(&self) -> &AnnotationStore<ObjKey, A, AV>
pub fn annotation_store(&self) -> &AnnotationStore<ObjKey, A, AV>
Read-only access to the annotation store.
Sourcepub fn annotation_field_names(&self) -> impl Iterator<Item = &A>
pub fn annotation_field_names(&self) -> impl Iterator<Item = &A>
Get all interned annotation field names.
Sourcepub fn annotation_field_keys(&self) -> impl Iterator<Item = AnnotationKey>
pub fn annotation_field_keys(&self) -> impl Iterator<Item = AnnotationKey>
Get all interned annotation field keys.
Sourcepub fn annotation_field_items(
&self,
) -> impl Iterator<Item = (AnnotationKey, &A)>
pub fn annotation_field_items( &self, ) -> impl Iterator<Item = (AnnotationKey, &A)>
Get all interned annotation field key-name pairs.
Sourcepub fn object_annotations<Id: AsRef<Uuid>>(&self, id: Id) -> BTreeMap<&A, &AV>
pub fn object_annotations<Id: AsRef<Uuid>>(&self, id: Id) -> BTreeMap<&A, &AV>
Get all annotation values of an object.
Sourcepub fn object_annotations_keyed(
&self,
obj: ObjKey,
) -> Option<&BTreeMap<AnnotationKey, AV>>
pub fn object_annotations_keyed( &self, obj: ObjKey, ) -> Option<&BTreeMap<AnnotationKey, AV>>
Get the annotations mapping by internal field keys for an object.
Sourcepub fn object_annotation<Id: AsRef<Uuid>>(
&self,
id: Id,
annotation: &A,
) -> Option<&AV>
pub fn object_annotation<Id: AsRef<Uuid>>( &self, id: Id, annotation: &A, ) -> Option<&AV>
Get a specific annotation of an object via its name.
Sourcepub fn object_annotation_by_key(
&self,
obj: ObjKey,
annotation: AnnotationKey,
) -> Option<&AV>
pub fn object_annotation_by_key( &self, obj: ObjKey, annotation: AnnotationKey, ) -> Option<&AV>
Get a specific annotation of an object via its internal key.
Sourcepub fn iter_meta_named<'a>(
&'a self,
) -> impl Iterator<Item = MetadataRef<'a, N, K, L, W, WV, A, AV>>
pub fn iter_meta_named<'a>( &'a self, ) -> impl Iterator<Item = MetadataRef<'a, N, K, L, W, WV, A, AV>>
Iterate over the interned metadata in terms of field names
Sourcepub fn iter_meta_keyed(
&self,
) -> impl Iterator<Item = Metadata<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>>
pub fn iter_meta_keyed( &self, ) -> impl Iterator<Item = Metadata<NameKey, KindKey, LabelKey, WeightKey, WV, AnnotationKey, AV>>
Iterate over all interned metadata items in terms of internal keys.
Trait Implementations§
Source§impl<ObjKey, N, K, L, W, WV, A, AV> Clone for MetadataStore<ObjKey, N, K, L, W, WV, A, AV>
impl<ObjKey, N, K, L, W, WV, A, AV> Clone for MetadataStore<ObjKey, N, K, L, W, WV, A, AV>
Source§fn clone(&self) -> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>
fn clone(&self) -> MetadataStore<ObjKey, N, K, L, W, WV, A, AV>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more