pub struct PrincipalScope(/* private fields */);Expand description
The identity domain a namespace’s principal ids belong to.
A deployment that did not issue a namespace’s grants refuses to interpret them by comparing this value. Same grammar as a principal id.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for PrincipalScope
impl AsRef<str> for PrincipalScope
Source§impl Borrow<str> for PrincipalScope
impl Borrow<str> for PrincipalScope
Source§impl Clone for PrincipalScope
impl Clone for PrincipalScope
Source§impl Debug for PrincipalScope
impl Debug for PrincipalScope
Source§impl<'de> Deserialize<'de> for PrincipalScope
impl<'de> Deserialize<'de> for PrincipalScope
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
Source§impl Display for PrincipalScope
impl Display for PrincipalScope
impl Eq for PrincipalScope
Source§impl FromStr for PrincipalScope
impl FromStr for PrincipalScope
Source§impl Hash for PrincipalScope
impl Hash for PrincipalScope
Source§impl Ord for PrincipalScope
impl Ord for PrincipalScope
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 PrincipalScope
impl PartialEq for PrincipalScope
Source§impl PartialOrd for PrincipalScope
impl PartialOrd for PrincipalScope
Source§impl Serialize for PrincipalScope
impl Serialize for PrincipalScope
impl StructuralPartialEq for PrincipalScope
Source§impl TryFrom<&str> for PrincipalScope
impl TryFrom<&str> for PrincipalScope
Auto Trait Implementations§
impl Freeze for PrincipalScope
impl RefUnwindSafe for PrincipalScope
impl Send for PrincipalScope
impl Sync for PrincipalScope
impl Unpin for PrincipalScope
impl UnsafeUnpin for PrincipalScope
impl UnwindSafe for PrincipalScope
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