pub struct Bearer {
pub token: String,
}
Expand description
Token holder for Bearer Authentication, most often seen with oauth
Fields§
§token: String
Actual bearer token as a string
Trait Implementations§
impl StructuralPartialEq for Bearer
Auto Trait Implementations§
impl Freeze for Bearer
impl RefUnwindSafe for Bearer
impl Send for Bearer
impl Sync for Bearer
impl Unpin for Bearer
impl UnwindSafe for Bearer
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