pub struct GraphLabelDefinitionKey { /* private fields */ }Expand description
Labels have a graph-specific logical object. An opaque legacy registry change can invalidate that object without interfering with another graph’s label readers.
Implementations§
Source§impl GraphLabelDefinitionKey
impl GraphLabelDefinitionKey
pub fn new( namespace: GraphIdentifierNamespace, graph: &str, label: Option<GraphLabelName<'_>>, ) -> Self
pub fn predicate(&self) -> SerializablePredicate<'_>
Auto Trait Implementations§
impl Freeze for GraphLabelDefinitionKey
impl RefUnwindSafe for GraphLabelDefinitionKey
impl Send for GraphLabelDefinitionKey
impl Sync for GraphLabelDefinitionKey
impl Unpin for GraphLabelDefinitionKey
impl UnsafeUnpin for GraphLabelDefinitionKey
impl UnwindSafe for GraphLabelDefinitionKey
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