Struct kustos_shared::subject::PolicyRole
source · pub struct PolicyRole(/* private fields */);Expand description
An internal group e.g. administrator, moderator, etc.
Trait Implementations§
source§impl AsRef<str> for PolicyRole
impl AsRef<str> for PolicyRole
source§impl Clone for PolicyRole
impl Clone for PolicyRole
source§fn clone(&self) -> PolicyRole
fn clone(&self) -> PolicyRole
Returns a copy of the value. Read more
1.0.0 · 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 PolicyRole
impl Debug for PolicyRole
source§impl From<&str> for PolicyRole
impl From<&str> for PolicyRole
source§impl From<String> for PolicyRole
impl From<String> for PolicyRole
source§impl FromStr for PolicyRole
impl FromStr for PolicyRole
source§impl PartialEq for PolicyRole
impl PartialEq for PolicyRole
source§fn eq(&self, other: &PolicyRole) -> bool
fn eq(&self, other: &PolicyRole) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PolicyRole
impl IsSubject for PolicyRole
impl StructuralPartialEq for PolicyRole
Auto Trait Implementations§
impl Freeze for PolicyRole
impl RefUnwindSafe for PolicyRole
impl Send for PolicyRole
impl Sync for PolicyRole
impl Unpin for PolicyRole
impl UnwindSafe for PolicyRole
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)