pub struct Basic { /* private fields */ }
Expand description
Credential holder for Basic Authentication
View the decoded username.
View the decoded password.
Performs copy-assignment from source
. Read more
The scheme identify the format of these credentials. Read more
Try to decode the credentials from the HeaderValue
. Read more
Encode the credentials to a HeaderValue
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Attaches the provided Context
to this type, returning a WithContext
wrapper. Read more
Attaches the current Context
to this type, returning a WithContext
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,