Struct fusionauth_rust_client::models::jwt::Jwt
source · pub struct Jwt {
pub aud: Option<Value>,
pub exp: Option<i64>,
pub iat: Option<i64>,
pub iss: Option<String>,
pub nbf: Option<i64>,
pub other_claims: Option<HashMap<String, Value>>,
pub sub: Option<String>,
pub jti: Option<String>,
}
Expand description
Jwt : JSON Web Token (JWT) as defined by RFC 7519.
From RFC 7519 Section 1. Introduction: The suggested pronunciation of JWT is the same as the English word "jot".The JWT is not Thread-Safe and should not be re-used.
Fields§
§aud: Option<Value>
§exp: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
iat: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
iss: Option<String>
§nbf: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
other_claims: Option<HashMap<String, Value>>
§sub: Option<String>
§jti: Option<String>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Jwt
impl<'de> Deserialize<'de> for Jwt
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
impl StructuralPartialEq for Jwt
Auto Trait Implementations§
impl RefUnwindSafe for Jwt
impl Send for Jwt
impl Sync for Jwt
impl Unpin for Jwt
impl UnwindSafe for Jwt
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