Struct jaws::token::Unverified
source · pub struct Unverified<H> { /* private fields */ }
Expand description
This JWS has not been verified. It has a signature, but we have not checked it.
This state indicates that we have recieved the token from elsewhere, and many fields could be in inconsistnet states.
Trait Implementations§
source§impl<H: Clone> Clone for Unverified<H>
impl<H: Clone> Clone for Unverified<H>
source§fn clone(&self) -> Unverified<H>
fn clone(&self) -> Unverified<H>
Returns a copy 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 moresource§impl<H: Debug> Debug for Unverified<H>
impl<H: Debug> Debug for Unverified<H>
source§impl<H> HasSignature for Unverified<H>
impl<H> HasSignature for Unverified<H>
source§impl<H> MaybeSigned for Unverified<H>
impl<H> MaybeSigned for Unverified<H>
§type HeaderState = RenderedHeader
type HeaderState = RenderedHeader
The state of the header with respect to its signature. Read more
source§fn is_verified(&self) -> bool
fn is_verified(&self) -> bool
Returns true if the token is signed and verified.
source§impl<H: PartialEq> PartialEq for Unverified<H>
impl<H: PartialEq> PartialEq for Unverified<H>
source§fn eq(&self, other: &Unverified<H>) -> bool
fn eq(&self, other: &Unverified<H>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<H: Eq> Eq for Unverified<H>
impl<H> StructuralEq for Unverified<H>
impl<H> StructuralPartialEq for Unverified<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for Unverified<H>where H: RefUnwindSafe,
impl<H> Send for Unverified<H>where H: Send,
impl<H> Sync for Unverified<H>where H: Sync,
impl<H> Unpin for Unverified<H>where H: Unpin,
impl<H> UnwindSafe for Unverified<H>where H: UnwindSafe,
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