pub enum Password {
Secure(String),
Insecure(String),
}Expand description
Owned variant of PasswordRef
Variants§
Trait Implementations§
Source§impl From<&PasswordRef<'_>> for Password
impl From<&PasswordRef<'_>> for Password
Source§fn from(value: &PasswordRef<'_>) -> Self
fn from(value: &PasswordRef<'_>) -> Self
Converts to this type from the input type.
impl Eq for Password
impl StructuralPartialEq for Password
Auto Trait Implementations§
impl Freeze for Password
impl RefUnwindSafe for Password
impl Send for Password
impl Sync for Password
impl Unpin for Password
impl UnwindSafe for Password
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