pub struct CompositeKey { /* private fields */ }Expand description
A MergeIdentity over several fields, each addressed by a dotted path.
Use this when no single field identifies an element —
for example an edge identified by both of its structured endpoints.
Each field is a .-separated path walked through nested objects ("from.ecosystem" reads element["from"]["ecosystem"]);
the resulting scalar tokens are combined into one injective composite identity.
An element missing any field has no identity and is skipped (the typed schema step reports it);
likewise a key built from an empty field list has no identity and never reports duplicates.
Implementations§
Source§impl CompositeKey
impl CompositeKey
Trait Implementations§
Source§impl Clone for CompositeKey
impl Clone for CompositeKey
Source§fn clone(&self) -> CompositeKey
fn clone(&self) -> CompositeKey
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 CompositeKey
impl Debug for CompositeKey
Source§impl MergeIdentity for CompositeKey
impl MergeIdentity for CompositeKey
Auto Trait Implementations§
impl Freeze for CompositeKey
impl RefUnwindSafe for CompositeKey
impl Send for CompositeKey
impl Sync for CompositeKey
impl Unpin for CompositeKey
impl UnsafeUnpin for CompositeKey
impl UnwindSafe for CompositeKey
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