pub struct Claims {Show 13 fields
pub sub: Subject,
pub iss: String,
pub aud: Option<String>,
pub exp: Option<i64>,
pub email: Option<String>,
pub email_verified: bool,
pub name: Option<String>,
pub preferred_username: String,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub scope: String,
pub client_id: Option<String>,
pub extra: Map<String, Value>,
}Fields§
§sub: Subject§iss: String§aud: Option<String>§exp: Option<i64>§email: Option<String>§email_verified: bool§name: Option<String>§preferred_username: String§given_name: Option<String>§family_name: Option<String>§scope: String§client_id: Option<String>§extra: Map<String, Value>Trait 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 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