Trait jwt::header::JoseHeader [−][src]
pub trait JoseHeader { fn algorithm_type(&self) -> AlgorithmType; fn key_id(&self) -> Option<&str> { ... } fn type_(&self) -> Option<HeaderType> { ... } fn content_type(&self) -> Option<HeaderContentType> { ... } }
Expand description
A trait for any header than can conform to the JWT specification.
Required methods
fn algorithm_type(&self) -> AlgorithmType
[src]Provided methods
fn type_(&self) -> Option<HeaderType>
[src]fn content_type(&self) -> Option<HeaderContentType>
[src]