Struct compact_jwt::jwt::JwtSigned
source · pub struct JwtSigned { /* private fields */ }
Expand description
A signed jwt which can be converted to a string.
Implementations§
source§impl JwtSigned
impl JwtSigned
sourcepub fn invalidate<V>(self) -> JwtUnverified<V>
pub fn invalidate<V>(self) -> JwtUnverified<V>
Invalidate this signed jwt, causing it to require validation before you can use it again.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JwtSigned
impl RefUnwindSafe for JwtSigned
impl Send for JwtSigned
impl Sync for JwtSigned
impl Unpin for JwtSigned
impl UnwindSafe for JwtSigned
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