pub struct AuthRole(/* private fields */);Expand description
Canonical role label, checked at construction and deserialization. The grammar matches the existing signed protocol; it adds no case folding, normalization, built-in roles or implicit role authority.
Implementations§
Trait Implementations§
Source§impl CandidType for AuthRole
impl CandidType for AuthRole
Source§impl<'de> Deserialize<'de> for AuthRole
impl<'de> Deserialize<'de> for AuthRole
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
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 Freeze for AuthRole
impl RefUnwindSafe for AuthRole
impl Send for AuthRole
impl Sync for AuthRole
impl Unpin for AuthRole
impl UnsafeUnpin for AuthRole
impl UnwindSafe for AuthRole
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