Struct jwt::claims::Registered
[−]
[src]
pub struct Registered { pub iss: Option<String>, pub sub: Option<String>, pub aud: Option<String>, pub exp: Option<u64>, pub nbf: Option<u64>, pub iat: Option<u64>, pub jti: Option<String>, }
Fields
iss: Option<String>
sub: Option<String>
aud: Option<String>
exp: Option<u64>
nbf: Option<u64>
iat: Option<u64>
jti: Option<String>
Trait Implementations
impl Debug for Registered
[src]
impl Default for Registered
[src]
fn default() -> Registered
Returns the "default value" for a type. Read more
impl PartialEq for Registered
[src]
fn eq(&self, __arg_0: &Registered) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Registered) -> bool
This method tests for !=
.
impl Decodable for Registered
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Registered, __D::Error>
Deserialize a value using a Decoder
.