pub struct AgentCardSignature {
pub protected: String,
pub signature: String,
pub header: Option<Value>,
}Expand description
Cryptographic signature for Agent Card verification (JWS)
Fields§
§protected: StringJWS protected header (base64url-encoded)
signature: StringJWS signature
header: Option<Value>JWS unprotected header
Trait Implementations§
Source§impl Clone for AgentCardSignature
impl Clone for AgentCardSignature
Source§fn clone(&self) -> AgentCardSignature
fn clone(&self) -> AgentCardSignature
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 AgentCardSignature
impl Debug for AgentCardSignature
Source§impl<'de> Deserialize<'de> for AgentCardSignature
impl<'de> Deserialize<'de> for AgentCardSignature
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 AgentCardSignature
impl PartialEq for AgentCardSignature
Source§impl Serialize for AgentCardSignature
impl Serialize for AgentCardSignature
impl StructuralPartialEq for AgentCardSignature
Auto Trait Implementations§
impl Freeze for AgentCardSignature
impl RefUnwindSafe for AgentCardSignature
impl Send for AgentCardSignature
impl Sync for AgentCardSignature
impl Unpin for AgentCardSignature
impl UnwindSafe for AgentCardSignature
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