pub struct TokenSlices<'a> {
    pub message: &'a str,
    pub signature: &'a str,
    pub header: &'a str,
    pub claims: &'a str,
}

Fields§

§message: &'a str

The header and claims (including adjoining ‘.’) but not the last ‘.’ or signature

§signature: &'a str

Just the trailing signature, no ‘.’

§header: &'a str

Just the leading header, no ‘.’

§claims: &'a str

Just the claims in between the header and signature, no ’.’s

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.