pub struct HttpAuthCredentials {
pub login: String,
pub password: String,
}
Expand description
Credentials returned by basic_http_auth
.
Fields§
§login: String
Login provided by the client.
password: String
Password provided by the client.
Trait Implementations§
Source§impl Clone for HttpAuthCredentials
impl Clone for HttpAuthCredentials
Source§fn clone(&self) -> HttpAuthCredentials
fn clone(&self) -> HttpAuthCredentials
Returns a copy 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 moreSource§impl Debug for HttpAuthCredentials
impl Debug for HttpAuthCredentials
Source§impl PartialEq for HttpAuthCredentials
impl PartialEq for HttpAuthCredentials
impl Eq for HttpAuthCredentials
impl StructuralPartialEq for HttpAuthCredentials
Auto Trait Implementations§
impl Freeze for HttpAuthCredentials
impl RefUnwindSafe for HttpAuthCredentials
impl Send for HttpAuthCredentials
impl Sync for HttpAuthCredentials
impl Unpin for HttpAuthCredentials
impl UnwindSafe for HttpAuthCredentials
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