Struct http_auth::basic::BasicClient
source · pub struct BasicClient { /* private fields */ }Available on crate feature
basic-scheme only.Expand description
Client for a Basic challenge, as in
RFC 7617.
This implementation always uses UTF-8. Thus it doesn’t use or store the
charset parameter, which the RFC only allows to be set to UTF-8 anyway.
Implementations§
source§impl BasicClient
impl BasicClient
Trait Implementations§
source§impl Clone for BasicClient
impl Clone for BasicClient
source§fn clone(&self) -> BasicClient
fn clone(&self) -> BasicClient
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 BasicClient
impl Debug for BasicClient
source§impl PartialEq for BasicClient
impl PartialEq for BasicClient
source§fn eq(&self, other: &BasicClient) -> bool
fn eq(&self, other: &BasicClient) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&ChallengeRef<'_>> for BasicClient
impl TryFrom<&ChallengeRef<'_>> for BasicClient
impl Eq for BasicClient
impl StructuralEq for BasicClient
impl StructuralPartialEq for BasicClient
Auto Trait Implementations§
impl RefUnwindSafe for BasicClient
impl Send for BasicClient
impl Sync for BasicClient
impl Unpin for BasicClient
impl UnwindSafe for BasicClient
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