pub struct AuthToken {
pub header: HeaderName,
pub value: String,
}Expand description
Credentials returned by a TokenProvider for a single outgoing request: the
header to set and its full value.
Fields§
§header: HeaderName§value: StringImplementations§
Trait Implementations§
impl Eq for AuthToken
impl StructuralPartialEq for AuthToken
Auto Trait Implementations§
impl !Freeze for AuthToken
impl RefUnwindSafe for AuthToken
impl Send for AuthToken
impl Sync for AuthToken
impl Unpin for AuthToken
impl UnsafeUnpin for AuthToken
impl UnwindSafe for AuthToken
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