pub struct BearerAuth(/* private fields */);Expand description
An API key which will be inserted into a Client’s default headers as a bearer auth token
Trait Implementations§
Source§impl ApiKey for BearerAuth
impl ApiKey for BearerAuth
fn into_header(self) -> Option<Result<(HeaderName, HeaderValue), Error>>
Source§impl<S> From<S> for BearerAuth
impl<S> From<S> for BearerAuth
Source§fn from(value: S) -> BearerAuth
fn from(value: S) -> BearerAuth
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BearerAuth
impl RefUnwindSafe for BearerAuth
impl Send for BearerAuth
impl Sync for BearerAuth
impl Unpin for BearerAuth
impl UnwindSafe for BearerAuth
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more