pub enum ChangePasswordReason {
Administrative,
Breached,
Expired,
Validation,
}
Expand description
ChangePasswordReason :
Variants§
Trait Implementations§
source§impl Clone for ChangePasswordReason
impl Clone for ChangePasswordReason
source§fn clone(&self) -> ChangePasswordReason
fn clone(&self) -> ChangePasswordReason
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 ChangePasswordReason
impl Debug for ChangePasswordReason
source§impl Default for ChangePasswordReason
impl Default for ChangePasswordReason
source§fn default() -> ChangePasswordReason
fn default() -> ChangePasswordReason
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChangePasswordReason
impl<'de> Deserialize<'de> for ChangePasswordReason
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 ChangePasswordReason
impl Hash for ChangePasswordReason
source§impl Ord for ChangePasswordReason
impl Ord for ChangePasswordReason
source§fn cmp(&self, other: &ChangePasswordReason) -> Ordering
fn cmp(&self, other: &ChangePasswordReason) -> Ordering
1.21.0 · 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 ChangePasswordReason
impl PartialEq for ChangePasswordReason
source§fn eq(&self, other: &ChangePasswordReason) -> bool
fn eq(&self, other: &ChangePasswordReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChangePasswordReason
impl PartialOrd for ChangePasswordReason
source§fn partial_cmp(&self, other: &ChangePasswordReason) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangePasswordReason) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ChangePasswordReason
impl Serialize for ChangePasswordReason
source§impl ToString for ChangePasswordReason
impl ToString for ChangePasswordReason
impl Copy for ChangePasswordReason
impl Eq for ChangePasswordReason
impl StructuralPartialEq for ChangePasswordReason
Auto Trait Implementations§
impl RefUnwindSafe for ChangePasswordReason
impl Send for ChangePasswordReason
impl Sync for ChangePasswordReason
impl Unpin for ChangePasswordReason
impl UnwindSafe for ChangePasswordReason
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.