Struct jsonwebtoken::Header
[−]
[src]
pub struct Header {
pub alg: Algorithm,
pub jku: Option<String>,
pub kid: Option<String>,
pub x5u: Option<String>,
pub x5t: Option<String>,
// some fields omitted
}A basic JWT header part, the alg defaults to HS256 and typ is automatically
set to JWT. All the other fields are optional
Fields
alg: Algorithm
jku: Option<String>
kid: Option<String>
x5u: Option<String>
x5t: Option<String>
Methods
impl Header[src]
Trait Implementations
impl Decodable for Header[src]
impl PartialEq for Header[src]
fn eq(&self, __arg_0: &Header) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Header) -> bool
This method tests for !=.