pub struct SimpleAuth {
pub username: String,
pub password: String,
}๐Deprecated:
use UserStore trait with a concrete implementation instead
Fieldsยง
ยงusername: String๐Deprecated:
ยงuse UserStore trait with a concrete implementation instead
password: String๐Deprecated:
use UserStore trait with a concrete implementation instead
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for SimpleAuth
impl Clone for SimpleAuth
Sourceยงfn clone(&self) -> SimpleAuth
fn clone(&self) -> SimpleAuth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementationsยง
impl Freeze for SimpleAuth
impl RefUnwindSafe for SimpleAuth
impl Send for SimpleAuth
impl Sync for SimpleAuth
impl Unpin for SimpleAuth
impl UnsafeUnpin for SimpleAuth
impl UnwindSafe for SimpleAuth
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