pub struct VerifiedToken { /* private fields */ }Expand description
Verified token containing validated claims and optional footer
Implementations§
Source§impl VerifiedToken
impl VerifiedToken
Get the footer from the verified token, if present
Sourcepub fn into_claims(self) -> Claims
pub fn into_claims(self) -> Claims
Consume the verified token and return the claims
Sourcepub fn into_parts(self) -> (Claims, Option<Footer>)
pub fn into_parts(self) -> (Claims, Option<Footer>)
Consume the verified token and return both claims and footer
Trait Implementations§
Source§impl Clone for VerifiedToken
impl Clone for VerifiedToken
Source§fn clone(&self) -> VerifiedToken
fn clone(&self) -> VerifiedToken
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 VerifiedToken
impl RefUnwindSafe for VerifiedToken
impl Send for VerifiedToken
impl Sync for VerifiedToken
impl Unpin for VerifiedToken
impl UnwindSafe for VerifiedToken
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