pub enum JWTLocation {
Bearer,
Query(String),
Cookie(String),
}Variants§
Trait Implementations§
Source§impl Clone for JWTLocation
impl Clone for JWTLocation
Source§fn clone(&self) -> JWTLocation
fn clone(&self) -> JWTLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JWTLocation
impl Debug for JWTLocation
Source§impl Default for JWTLocation
impl Default for JWTLocation
Source§fn default() -> JWTLocation
fn default() -> JWTLocation
Returns the “default value” for a type. Read more
impl Eq for JWTLocation
Source§impl From<&AppContext> for JWTLocation
impl From<&AppContext> for JWTLocation
Source§fn from(ctx: &AppContext) -> Self
fn from(ctx: &AppContext) -> Self
Converts to this type from the input type.
Source§impl From<&JWTLocation> for JWTLocation
impl From<&JWTLocation> for JWTLocation
Source§fn from(loco_location: &LocoJWTLocation) -> Self
fn from(loco_location: &LocoJWTLocation) -> Self
Converts to this type from the input type.
Source§impl From<&JWTLocationConfig> for JWTLocation
impl From<&JWTLocationConfig> for JWTLocation
Source§fn from(cfg: &JWTLocationConfig) -> Self
fn from(cfg: &JWTLocationConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JWTLocation
impl PartialEq for JWTLocation
impl StructuralPartialEq for JWTLocation
Auto Trait Implementations§
impl Freeze for JWTLocation
impl RefUnwindSafe for JWTLocation
impl Send for JWTLocation
impl Sync for JWTLocation
impl Unpin for JWTLocation
impl UnsafeUnpin for JWTLocation
impl UnwindSafe for JWTLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.