pub struct Bearer {
pub token: String,
}
Fields§
§token: String
Implementations§
Trait Implementations§
Source§impl From<Authorization<Bearer>> for Bearer
impl From<Authorization<Bearer>> for Bearer
Source§fn from(val: Authorization<Self>) -> Self
fn from(val: Authorization<Self>) -> Self
Converts to this type from the input type.
Source§impl TryFrom<HeaderValue> for Bearer
impl TryFrom<HeaderValue> 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