pub struct GraphEntityKey { /* private fields */ }Expand description
A global entity may belong to several named graphs. Payload reads and writes meet at its original physical scope and clear generation, while vertex and edge identities remain disjoint.
Implementations§
Source§impl GraphEntityKey
impl GraphEntityKey
pub fn new( namespace: GraphIdentifierNamespace, kind: GraphEntityKind, id: u64, ) -> Self
pub fn predicate(&self) -> SerializablePredicate<'_>
pub fn observe_write( &self, batch: &mut dyn KeyValueBatch, ) -> StorageBackendResult<()>
Trait Implementations§
Source§impl Clone for GraphEntityKey
impl Clone for GraphEntityKey
impl Copy for GraphEntityKey
Auto Trait Implementations§
impl Freeze for GraphEntityKey
impl RefUnwindSafe for GraphEntityKey
impl Send for GraphEntityKey
impl Sync for GraphEntityKey
impl Unpin for GraphEntityKey
impl UnsafeUnpin for GraphEntityKey
impl UnwindSafe for GraphEntityKey
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