pub enum AuthLocation {
Header {
key: String,
},
Basic,
Bearer,
Token,
Query {
key: String,
},
Cookie {
key: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for AuthLocation
impl Clone for AuthLocation
Source§fn clone(&self) -> AuthLocation
fn clone(&self) -> AuthLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AuthLocation
impl RefUnwindSafe for AuthLocation
impl Send for AuthLocation
impl Sync for AuthLocation
impl Unpin for AuthLocation
impl UnwindSafe for AuthLocation
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