pub enum AuthValue {
Bearer(String),
Basic(User),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthValue
impl RefUnwindSafe for AuthValue
impl Send for AuthValue
impl Sync for AuthValue
impl Unpin for AuthValue
impl UnwindSafe for AuthValue
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