pub struct Jws<C> {
pub protected: String,
pub payload: String,
pub signature: String,
pub _pd: PhantomData<C>,
}Expand description
This is a serde-compatible JSON Web Signature structure.
Fields§
§protected: StringThe base64 encoded header data.
Defined in RFC7515#3.2.
payload: StringThe base64 encoded claims data.
Defined in RFC7515#3.2.
signature: StringThe signature on the other fields.
Defined in RFC7515#3.2.
_pd: PhantomData<C>Unused, for associating type metadata.
Trait Implementations§
Source§impl<'de, C> Deserialize<'de> for Jws<C>
impl<'de, C> Deserialize<'de> for Jws<C>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<C> Freeze for Jws<C>
impl<C> RefUnwindSafe for Jws<C>where
C: RefUnwindSafe,
impl<C> Send for Jws<C>where
C: Send,
impl<C> Sync for Jws<C>where
C: Sync,
impl<C> Unpin for Jws<C>where
C: Unpin,
impl<C> UnwindSafe for Jws<C>where
C: 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