pub struct Authorization(/* private fields */);
Implementations§
Source§impl Authorization
impl Authorization
pub fn basic(username: String, password: String) -> Authorization
pub fn basic_credentials(credentials: String) -> Authorization
pub fn bearer(tokens: String) -> Authorization
pub fn header_value(&self) -> String
Auto Trait Implementations§
impl Freeze for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnwindSafe for Authorization
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