pub struct GrantId(/* private fields */);Expand description
The content identity of a Grant (its authority-ref + derivation).
Implementations§
Trait Implementations§
impl Copy for GrantId
Source§impl<'de> Deserialize<'de> for GrantId
impl<'de> Deserialize<'de> for GrantId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GrantId
Source§impl Ord for GrantId
impl Ord for GrantId
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 PartialOrd for GrantId
impl PartialOrd for GrantId
impl StructuralPartialEq for GrantId
Auto Trait Implementations§
impl Freeze for GrantId
impl RefUnwindSafe for GrantId
impl Send for GrantId
impl Sync for GrantId
impl Unpin for GrantId
impl UnsafeUnpin for GrantId
impl UnwindSafe for GrantId
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