pub struct Unprotected {
pub alg: Option<Signing>,
pub jwk: Option<Jwk>,
pub kid: Option<String>,
pub x5c: Option<Vec<Bytes<Box<[u8]>, Base64>>>,
pub x5t: Thumbprint,
pub typ: Option<String>,
pub cty: Option<String>,
}Expand description
The JWS Unprotected Header
Fields§
§alg: Option<Signing>RFC 7517 Section 4.1.1
jwk: Option<Jwk>RFC 7517 Section 4.1.3
kid: Option<String>RFC 7517 Section 4.1.4
x5c: Option<Vec<Bytes<Box<[u8]>, Base64>>>RFC 7517 Section 4.1.6
x5t: ThumbprintRFC 7517 Section 4.1.7-8
typ: Option<String>RFC 7517 Section 4.1.9
cty: Option<String>RFC 7517 Section 4.1.10
Trait Implementations§
Source§impl Clone for Unprotected
impl Clone for Unprotected
Source§fn clone(&self) -> Unprotected
fn clone(&self) -> Unprotected
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 moreSource§impl Debug for Unprotected
impl Debug for Unprotected
Source§impl Default for Unprotected
impl Default for Unprotected
Source§fn default() -> Unprotected
fn default() -> Unprotected
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Unprotected
impl<'de> Deserialize<'de> for Unprotected
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 Freeze for Unprotected
impl RefUnwindSafe for Unprotected
impl Send for Unprotected
impl Sync for Unprotected
impl Unpin for Unprotected
impl UnwindSafe for Unprotected
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