pub enum IdentityKind {
Always,
ByDefault,
}Expand description
Identity kind.
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 moreSource§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 Hash for IdentityKind
impl Hash 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 Copy for IdentityKind
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more