pub struct BearerConfig {
pub token_env: String,
}Expand description
Bearer token verification configuration
Fields§
§token_env: StringEnvironment variable containing the expected token
Trait Implementations§
Source§impl Clone for BearerConfig
impl Clone for BearerConfig
Source§fn clone(&self) -> BearerConfig
fn clone(&self) -> BearerConfig
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 moreSource§impl Debug for BearerConfig
impl Debug for BearerConfig
Source§impl<'de> Deserialize<'de> for BearerConfig
impl<'de> Deserialize<'de> for BearerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BearerConfig
impl PartialEq for BearerConfig
Source§impl Serialize for BearerConfig
impl Serialize for BearerConfig
impl StructuralPartialEq for BearerConfig
Auto Trait Implementations§
impl Freeze for BearerConfig
impl RefUnwindSafe for BearerConfig
impl Send for BearerConfig
impl Sync for BearerConfig
impl Unpin for BearerConfig
impl UnsafeUnpin for BearerConfig
impl UnwindSafe for BearerConfig
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