Expand description
A username and password to use for HTTP basic authentication.
Fields§
§username: String
The username to use for authentication.
password: String
The password to use for authentication.
Trait Implementations§
impl Eq for BasicAuth
impl StructuralEq for BasicAuth
impl StructuralPartialEq for BasicAuth
Auto Trait Implementations§
impl RefUnwindSafe for BasicAuth
impl Send for BasicAuth
impl Sync for BasicAuth
impl Unpin for BasicAuth
impl UnwindSafe for BasicAuth
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.