pub struct JwtValidationConfig {
pub secret: String,
pub expected_issuer: Option<String>,
pub expected_audience: Option<String>,
}Fields§
§secret: String§expected_issuer: Option<String>§expected_audience: Option<String>Trait Implementations§
Source§impl Clone for JwtValidationConfig
impl Clone for JwtValidationConfig
Source§fn clone(&self) -> JwtValidationConfig
fn clone(&self) -> JwtValidationConfig
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 JwtValidationConfig
impl RefUnwindSafe for JwtValidationConfig
impl Send for JwtValidationConfig
impl Sync for JwtValidationConfig
impl Unpin for JwtValidationConfig
impl UnwindSafe for JwtValidationConfig
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