pub struct LoginSecrets { /* private fields */ }Implementations§
Source§impl LoginSecrets
impl LoginSecrets
pub fn new(password: SecretString, code: Option<SecretString>) -> Self
pub fn into_parts(self) -> (SecretString, Option<SecretString>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginSecrets
impl RefUnwindSafe for LoginSecrets
impl Send for LoginSecrets
impl Sync for LoginSecrets
impl Unpin for LoginSecrets
impl UnsafeUnpin for LoginSecrets
impl UnwindSafe for LoginSecrets
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