pub struct ClaimsStandard {
pub user: User,
pub email_verified: bool,
pub phone_number: String,
pub phone_number_verified: bool,
pub gender: String,
pub token_type: Option<String>,
pub nonce: Option<String>,
pub scope: Option<String>,
pub address: OIDCAddress,
pub tag: String,
pub reg_claims: RegisteredClaims,
}Fields§
§user: User§email_verified: bool§phone_number: String§phone_number_verified: bool§gender: String§token_type: Option<String>§nonce: Option<String>§scope: Option<String>§address: OIDCAddress§tag: String§reg_claims: RegisteredClaimsTrait Implementations§
Source§impl Clone for ClaimsStandard
impl Clone for ClaimsStandard
Source§fn clone(&self) -> ClaimsStandard
fn clone(&self) -> ClaimsStandard
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 ClaimsStandard
impl Debug for ClaimsStandard
Source§impl Default for ClaimsStandard
impl Default for ClaimsStandard
Source§fn default() -> ClaimsStandard
fn default() -> ClaimsStandard
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClaimsStandardwhere
ClaimsStandard: Default,
impl<'de> Deserialize<'de> for ClaimsStandardwhere
ClaimsStandard: Default,
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
Auto Trait Implementations§
impl Freeze for ClaimsStandard
impl RefUnwindSafe for ClaimsStandard
impl Send for ClaimsStandard
impl Sync for ClaimsStandard
impl Unpin for ClaimsStandard
impl UnwindSafe for ClaimsStandard
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