pub struct OperationGrantId(/* private fields */);Expand description
Identity of one separately recorded least-authority grant.
Implementations§
Source§impl OperationGrantId
impl OperationGrantId
Sourcepub const fn content_id(&self) -> &ContentId
pub const fn content_id(&self) -> &ContentId
Borrows the grant’s semantic content identity.
Trait Implementations§
Source§impl Clone for OperationGrantId
impl Clone for OperationGrantId
Source§fn clone(&self) -> OperationGrantId
fn clone(&self) -> OperationGrantId
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 OperationGrantId
impl Debug for OperationGrantId
impl Eq for OperationGrantId
Source§impl Ord for OperationGrantId
impl Ord for OperationGrantId
Source§fn cmp(&self, other: &OperationGrantId) -> Ordering
fn cmp(&self, other: &OperationGrantId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OperationGrantId
impl PartialEq for OperationGrantId
Source§impl PartialOrd for OperationGrantId
impl PartialOrd for OperationGrantId
impl StructuralPartialEq for OperationGrantId
Auto Trait Implementations§
impl Freeze for OperationGrantId
impl RefUnwindSafe for OperationGrantId
impl Send for OperationGrantId
impl Sync for OperationGrantId
impl Unpin for OperationGrantId
impl UnsafeUnpin for OperationGrantId
impl UnwindSafe for OperationGrantId
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