pub enum IdentityKind {
Human,
Agent,
}Expand description
Kind of an Identity.
Variants§
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 Default for IdentityKind
impl Default for IdentityKind
Source§fn default() -> IdentityKind
fn default() -> IdentityKind
Returns the “default value” for a type. Read more
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
impl Eq for IdentityKind
Source§impl PartialEq for IdentityKind
impl PartialEq for IdentityKind
Source§fn eq(&self, other: &IdentityKind) -> bool
fn eq(&self, other: &IdentityKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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