pub enum PrincipalKind {
User,
Administrator,
Device,
Service,
}Expand description
The endpoint represented by a principal descriptor.
Variants§
User
A human tenant member.
Administrator
A tenant administrator.
Device
A managed endpoint device.
Service
A non-human service identity.
Trait Implementations§
Source§impl Clone for PrincipalKind
impl Clone for PrincipalKind
Source§fn clone(&self) -> PrincipalKind
fn clone(&self) -> PrincipalKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrincipalKind
Source§impl Debug for PrincipalKind
impl Debug for PrincipalKind
impl Eq for PrincipalKind
Source§impl Ord for PrincipalKind
impl Ord for PrincipalKind
Source§fn cmp(&self, other: &PrincipalKind) -> Ordering
fn cmp(&self, other: &PrincipalKind) -> Ordering
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
Source§impl PartialEq for PrincipalKind
impl PartialEq for PrincipalKind
Source§impl PartialOrd for PrincipalKind
impl PartialOrd for PrincipalKind
impl StructuralPartialEq for PrincipalKind
Auto Trait Implementations§
impl Freeze for PrincipalKind
impl RefUnwindSafe for PrincipalKind
impl Send for PrincipalKind
impl Sync for PrincipalKind
impl Unpin for PrincipalKind
impl UnsafeUnpin for PrincipalKind
impl UnwindSafe for PrincipalKind
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