#[repr(u8)]pub enum IdentityKind {
User = 0,
Service = 1,
Root = 2,
System = 3,
Anonymous = 4,
Guest = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IdentityKind
impl Clone for IdentityKind
Source§fn clone(&self) -> IdentityKind
fn clone(&self) -> IdentityKind
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 IdentityKind
Source§impl Debug for IdentityKind
impl Debug for IdentityKind
Source§impl<'de> Deserialize<'de> for IdentityKind
impl<'de> Deserialize<'de> for IdentityKind
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 IdentityKind
impl Display for IdentityKind
impl Eq for IdentityKind
Source§impl Hash for IdentityKind
impl Hash for IdentityKind
Source§impl LeBytes for IdentityKind
impl LeBytes for IdentityKind
Source§impl PartialEq for IdentityKind
impl PartialEq for IdentityKind
Source§impl RowField for IdentityKind
impl RowField for IdentityKind
const VALUE_TYPE: ValueType = ValueType::Uint1
Source§impl Serialize for IdentityKind
impl Serialize for IdentityKind
impl StructuralPartialEq for IdentityKind
Auto Trait Implementations§
impl Freeze for IdentityKind
impl RefUnwindSafe for IdentityKind
impl Send for IdentityKind
impl Sync for IdentityKind
impl Unpin for IdentityKind
impl UnsafeUnpin for IdentityKind
impl UnwindSafe for IdentityKind
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