pub struct HttpAuthBearer(/* private fields */);Expand description
OAuth 2.0 Bearer token; redacted in fmt::Debug, zeroed on drop.
Implementations§
Trait Implementations§
Source§impl Clone for HttpAuthBearer
impl Clone for HttpAuthBearer
Source§fn clone(&self) -> HttpAuthBearer
fn clone(&self) -> HttpAuthBearer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpAuthBearer
impl Debug for HttpAuthBearer
Source§impl Display for HttpAuthBearer
impl Display for HttpAuthBearer
impl Eq for HttpAuthBearer
Source§impl ExposeSecret<str> for HttpAuthBearer
impl ExposeSecret<str> for HttpAuthBearer
Source§fn expose_secret(&self) -> &str
fn expose_secret(&self) -> &str
Expose secret: this is the only method providing access to a secret.
Auto Trait Implementations§
impl Freeze for HttpAuthBearer
impl RefUnwindSafe for HttpAuthBearer
impl Send for HttpAuthBearer
impl Sync for HttpAuthBearer
impl Unpin for HttpAuthBearer
impl UnsafeUnpin for HttpAuthBearer
impl UnwindSafe for HttpAuthBearer
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