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