pub struct Claims {Show 23 fields
pub exp: i64,
pub iat: i64,
pub auth_time: Option<i64>,
pub jti: String,
pub iss: String,
pub aud: Value,
pub sub: Arc<str>,
pub typ: String,
pub azp: String,
pub session_state: String,
pub acr: String,
pub allowed_origins: Vec<Arc<str>>,
pub realm_access: RealmAccess,
pub resource_access: ResourceAccess,
pub scope: String,
pub sid: String,
pub email_verified: bool,
pub name: String,
pub preferred_username: String,
pub given_name: String,
pub family_name: String,
pub email: String,
pub is_api_test: bool,
}Fields§
§exp: i64§iat: i64§auth_time: Option<i64>§jti: String§iss: String§aud: Value§sub: Arc<str>§typ: String§azp: String§session_state: String§acr: String§allowed_origins: Vec<Arc<str>>§realm_access: RealmAccess§resource_access: ResourceAccess§scope: String§sid: String§email_verified: bool§name: String§preferred_username: String§given_name: String§family_name: String§email: String§is_api_test: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Claims
impl<'de> Deserialize<'de> for Claims
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 Claims
impl RefUnwindSafe for Claims
impl Send for Claims
impl Sync for Claims
impl Unpin for Claims
impl UnsafeUnpin for Claims
impl UnwindSafe for Claims
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