pub struct AuthRole(/* private fields */);Expand description
AuthRole
Exact ASCII role spelling. This names a role but grants no permissions. Unlike scopes, roles have no segment-start rules; punctuation-only labels remain valid under the signed protocol. No normalization is performed.
Implementations§
Trait Implementations§
impl Eq for AuthRole
Source§impl Ord for AuthRole
impl Ord for AuthRole
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 AuthRole
impl PartialOrd for AuthRole
impl StructuralPartialEq for AuthRole
Auto Trait Implementations§
impl Forget for AuthRole
impl Freeze for AuthRole
impl Move for AuthRole
impl RefUnwindSafe for AuthRole
impl Send for AuthRolewhere
RawVecInner: Send,
impl Sync for AuthRolewhere
RawVecInner: Sync,
impl Unpin for AuthRole
impl UnsafeUnpin for AuthRole
impl UnwindSafe for AuthRolewhere
RawVecInner: 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