pub enum PasswordMatch {
Match,
NoMatch,
}Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for PasswordMatch
impl<'__de, __Context> BorrowDecode<'__de, __Context> for PasswordMatch
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for PasswordMatch
impl Clone for PasswordMatch
Source§fn clone(&self) -> PasswordMatch
fn clone(&self) -> PasswordMatch
Returns a duplicate 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 PasswordMatch
impl Debug for PasswordMatch
Source§impl<__Context> Decode<__Context> for PasswordMatch
impl<__Context> Decode<__Context> for PasswordMatch
Source§impl Encode for PasswordMatch
impl Encode for PasswordMatch
Source§impl Ord for PasswordMatch
impl Ord for PasswordMatch
Source§fn cmp(&self, other: &PasswordMatch) -> Ordering
fn cmp(&self, other: &PasswordMatch) -> 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 PasswordMatch
impl PartialEq for PasswordMatch
Source§impl PartialOrd for PasswordMatch
impl PartialOrd for PasswordMatch
impl Copy for PasswordMatch
impl Eq for PasswordMatch
impl StructuralPartialEq for PasswordMatch
Auto Trait Implementations§
impl Freeze for PasswordMatch
impl RefUnwindSafe for PasswordMatch
impl Send for PasswordMatch
impl Sync for PasswordMatch
impl Unpin for PasswordMatch
impl UnwindSafe for PasswordMatch
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