pub struct HttpAuth {
pub scheme: String,
pub credentials: Value,
}Expand description
The credentials and metadata for HTTP authentication.
Fields§
§scheme: StringThe name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. Examples: ‘basic’, ‘bearer’
credentials: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for HttpAuth
impl RefUnwindSafe for HttpAuth
impl Send for HttpAuth
impl Sync for HttpAuth
impl Unpin for HttpAuth
impl UnwindSafe for HttpAuth
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