pub struct ManagedRole<R> { /* private fields */ }Expand description
Caller-owned role evidence kept separate from managed graph identity.
Changing a role cannot allocate, remove, renumber, or reorder an edge. The role type is intentionally generic so guests may use open role vocabularies without introducing a global enum in the managed-graph substrate.
Implementations§
Source§impl<R> ManagedRole<R>
impl<R> ManagedRole<R>
Trait Implementations§
Source§impl<R: Clone> Clone for ManagedRole<R>
impl<R: Clone> Clone for ManagedRole<R>
Source§fn clone(&self) -> ManagedRole<R>
fn clone(&self) -> ManagedRole<R>
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<R: Debug> Debug for ManagedRole<R>
impl<R: Debug> Debug for ManagedRole<R>
impl<R: Eq> Eq for ManagedRole<R>
Source§impl<R: PartialEq> PartialEq for ManagedRole<R>
impl<R: PartialEq> PartialEq for ManagedRole<R>
impl<R: PartialEq> StructuralPartialEq for ManagedRole<R>
Auto Trait Implementations§
impl<R> Freeze for ManagedRole<R>where
R: Freeze,
impl<R> RefUnwindSafe for ManagedRole<R>where
R: RefUnwindSafe,
impl<R> Send for ManagedRole<R>where
R: Send,
impl<R> Sync for ManagedRole<R>where
R: Sync,
impl<R> Unpin for ManagedRole<R>where
R: Unpin,
impl<R> UnsafeUnpin for ManagedRole<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ManagedRole<R>where
R: UnwindSafe,
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