pub struct SimpleAuth {
pub username: String,
pub password: String,
}Fields§
§username: String§password: StringImplementations§
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 · 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