Trait jsonwebtoken::Part
[−]
[src]
pub trait Part { type Encoded: AsRef<str>; fn from_base64<B: AsRef<[u8]>>(encoded: B) -> Result<Self, Error> where Self: Sized; fn to_base64(&self) -> Result<Self::Encoded, Error>; }
A part of the JWT: header and claims specifically Allows converting from/to struct with base64