pub struct JsonWebToken {
pub header: Header,
pub claims: Claims,
}Expand description
A decoded JSON web token https://www.rfc-editor.org/rfc/rfc7519
Fields§
§header: HeaderThe token’s header
claims: ClaimsThe claims on the token.
Implementations§
Source§impl JsonWebToken
impl JsonWebToken
Trait Implementations§
Source§impl Clone for JsonWebToken
impl Clone for JsonWebToken
Source§fn clone(&self) -> JsonWebToken
fn clone(&self) -> JsonWebToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JsonWebToken
impl RefUnwindSafe for JsonWebToken
impl Send for JsonWebToken
impl Sync for JsonWebToken
impl Unpin for JsonWebToken
impl UnwindSafe for JsonWebToken
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