pub struct ClaimsValidationSpec {
pub iss: Option<String>,
pub exp: bool,
pub nbf: bool,
pub aud: Option<Vec<String>>,
}Fields§
§iss: Option<String>§exp: bool§nbf: bool§aud: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for ClaimsValidationSpec
impl Clone for ClaimsValidationSpec
Source§fn clone(&self) -> ClaimsValidationSpec
fn clone(&self) -> ClaimsValidationSpec
Returns a copy 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 ClaimsValidationSpec
impl Debug for ClaimsValidationSpec
Source§impl Default for ClaimsValidationSpec
impl Default for ClaimsValidationSpec
Source§fn default() -> ClaimsValidationSpec
fn default() -> ClaimsValidationSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClaimsValidationSpec
impl RefUnwindSafe for ClaimsValidationSpec
impl Send for ClaimsValidationSpec
impl Sync for ClaimsValidationSpec
impl Unpin for ClaimsValidationSpec
impl UnwindSafe for ClaimsValidationSpec
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