Struct compact_jwt::compact::JweProtectedHeader
source · pub struct JweProtectedHeader { /* private fields */ }
Expand description
A header that will be signed and embedded in the Jws
Trait Implementations§
source§impl Clone for JweProtectedHeader
impl Clone for JweProtectedHeader
source§fn clone(&self) -> JweProtectedHeader
fn clone(&self) -> JweProtectedHeader
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 Debug for JweProtectedHeader
impl Debug for JweProtectedHeader
source§impl Default for JweProtectedHeader
impl Default for JweProtectedHeader
source§fn default() -> JweProtectedHeader
fn default() -> JweProtectedHeader
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JweProtectedHeader
impl<'de> Deserialize<'de> for JweProtectedHeader
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
source§impl PartialEq for JweProtectedHeader
impl PartialEq for JweProtectedHeader
source§fn eq(&self, other: &JweProtectedHeader) -> bool
fn eq(&self, other: &JweProtectedHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JweProtectedHeader
impl Serialize for JweProtectedHeader
impl StructuralPartialEq for JweProtectedHeader
Auto Trait Implementations§
impl Freeze for JweProtectedHeader
impl RefUnwindSafe for JweProtectedHeader
impl Send for JweProtectedHeader
impl Sync for JweProtectedHeader
impl Unpin for JweProtectedHeader
impl UnwindSafe for JweProtectedHeader
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