pub struct GraphMembershipKey { /* private fields */ }Expand description
One entity’s graph memberships, separated from its payload and from other entities of either kind.
Implementations§
Source§impl GraphMembershipKey
impl GraphMembershipKey
pub fn new( namespace: GraphIdentifierNamespace, kind: GraphEntityKind, id: u64, graph: Option<&str>, ) -> Self
pub fn predicate(&self) -> SerializablePredicate<'_>
Auto Trait Implementations§
impl Freeze for GraphMembershipKey
impl RefUnwindSafe for GraphMembershipKey
impl Send for GraphMembershipKey
impl Sync for GraphMembershipKey
impl Unpin for GraphMembershipKey
impl UnsafeUnpin for GraphMembershipKey
impl UnwindSafe for GraphMembershipKey
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