pub struct BasicCredentials {
pub username: String,
pub password: SecretString,
}Fields§
§username: String§password: SecretStringTrait Implementations§
Source§impl Clone for BasicCredentials
impl Clone for BasicCredentials
Source§fn clone(&self) -> BasicCredentials
fn clone(&self) -> BasicCredentials
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 BasicCredentials
impl RefUnwindSafe for BasicCredentials
impl Send for BasicCredentials
impl Sync for BasicCredentials
impl Unpin for BasicCredentials
impl UnsafeUnpin for BasicCredentials
impl UnwindSafe for BasicCredentials
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