pub enum PasswordState {
Empty,
NotEmpty,
}
Expand description
Serves as a flag for password-protection.
Variants§
Trait Implementations§
Source§impl Clone for PasswordState
impl Clone for PasswordState
Source§fn clone(&self) -> PasswordState
fn clone(&self) -> PasswordState
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 PasswordState
impl Debug for PasswordState
Source§impl<'de> Deserialize<'de> for PasswordState
impl<'de> Deserialize<'de> for PasswordState
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 PasswordState
impl Display for PasswordState
Source§impl FromStr for PasswordState
impl FromStr for PasswordState
Source§impl Hash for PasswordState
impl Hash for PasswordState
Source§impl PartialEq for PasswordState
impl PartialEq for PasswordState
Source§impl Serialize for PasswordState
impl Serialize for PasswordState
Source§impl TryFrom<&str> for PasswordState
impl TryFrom<&str> for PasswordState
impl Copy for PasswordState
impl Eq for PasswordState
impl StructuralPartialEq for PasswordState
Auto Trait Implementations§
impl Freeze for PasswordState
impl RefUnwindSafe for PasswordState
impl Send for PasswordState
impl Sync for PasswordState
impl Unpin for PasswordState
impl UnwindSafe for PasswordState
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