pub struct UserPass { /* private fields */ }Expand description
A person’s username and password.
Rarely right for a service — a password does not rotate itself and cannot be scoped to one deployment — but it is what a developer has on a laptop.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserPass
impl RefUnwindSafe for UserPass
impl Send for UserPass
impl Sync for UserPass
impl Unpin for UserPass
impl UnsafeUnpin for UserPass
impl UnwindSafe for UserPass
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