pub struct Basic { /* private fields */ }
Expand description
Credential holder for Basic Authentication
Implementations
Trait Implementations
sourceimpl Credentials for Basic
impl Credentials for Basic
sourceconst SCHEME: &'static str = "Basic"
const SCHEME: &'static str = "Basic"
The scheme identify the format of these credentials. Read more
sourcefn decode(value: &HeaderValue) -> Option<Basic>
fn decode(value: &HeaderValue) -> Option<Basic>
Try to decode the credentials from the
HeaderValue
. Read moresourcefn encode(&self) -> HeaderValue
fn encode(&self) -> HeaderValue
Encode the credentials to a
HeaderValue
. Read moreimpl StructuralPartialEq for Basic
Auto Trait Implementations
impl RefUnwindSafe for Basic
impl Send for Basic
impl Sync for Basic
impl Unpin for Basic
impl UnwindSafe for Basic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more