pub struct JsonWebSignatureProtected {
pub algorithm: String,
pub nonce: Option<String>,
pub url: String,
pub json_web_key: Option<JsonWebKey>,
pub key_id: Option<String>,
}Expand description
Defines the protected data object in the JWS payload.
For more information, refer to RFC 8555 § 6.2
Fields§
§algorithm: String§nonce: Option<String>§url: String§json_web_key: Option<JsonWebKey>§key_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for JsonWebSignatureProtected
impl Clone for JsonWebSignatureProtected
Source§fn clone(&self) -> JsonWebSignatureProtected
fn clone(&self) -> JsonWebSignatureProtected
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 JsonWebSignatureProtected
impl Debug for JsonWebSignatureProtected
Source§impl<'de> Deserialize<'de> for JsonWebSignatureProtected
impl<'de> Deserialize<'de> for JsonWebSignatureProtected
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 JsonWebSignatureProtected
impl RefUnwindSafe for JsonWebSignatureProtected
impl Send for JsonWebSignatureProtected
impl Sync for JsonWebSignatureProtected
impl Unpin for JsonWebSignatureProtected
impl UnwindSafe for JsonWebSignatureProtected
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