pub struct JwsProtectedHeader {
pub alg: String,
pub kid: String,
pub typ: Option<String>,
pub jku: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Decoded protected header for an agent-card detached JWS signature.
Fields§
§alg: StringJWS algorithm identifier such as ES256.
kid: StringKey identifier used to resolve the verification key.
typ: Option<String>Optional JOSE type, typically JOSE.
jku: Option<String>Optional JWK Set URL that can help callers resolve keys.
extra: BTreeMap<String, Value>Additional JOSE header parameters.
Trait Implementations§
Source§impl Clone for JwsProtectedHeader
impl Clone for JwsProtectedHeader
Source§fn clone(&self) -> JwsProtectedHeader
fn clone(&self) -> JwsProtectedHeader
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 JwsProtectedHeader
impl Debug for JwsProtectedHeader
Source§impl<'de> Deserialize<'de> for JwsProtectedHeader
impl<'de> Deserialize<'de> for JwsProtectedHeader
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 JwsProtectedHeader
impl PartialEq for JwsProtectedHeader
Source§impl Serialize for JwsProtectedHeader
impl Serialize for JwsProtectedHeader
impl Eq for JwsProtectedHeader
impl StructuralPartialEq for JwsProtectedHeader
Auto Trait Implementations§
impl Freeze for JwsProtectedHeader
impl RefUnwindSafe for JwsProtectedHeader
impl Send for JwsProtectedHeader
impl Sync for JwsProtectedHeader
impl Unpin for JwsProtectedHeader
impl UnsafeUnpin for JwsProtectedHeader
impl UnwindSafe for JwsProtectedHeader
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