pub struct VerifiedSigned {
pub content_type: ContentType,
pub payload: Vec<u8>,
pub claims: Option<Claims>,
pub protected_headers: ProtectedHeaders,
pub signer_key_id: KeyId,
}Expand description
A verified bare signed message.
Fields§
§content_type: ContentTypeThe payload content type.
payload: Vec<u8>The signed payload.
claims: Option<Claims>Claims, when the message carried them.
protected_headers: ProtectedHeadersAdditional critical protected headers.
signer_key_id: KeyIdThe outer kid that signed the message.
Trait Implementations§
Source§impl Clone for VerifiedSigned
impl Clone for VerifiedSigned
Source§fn clone(&self) -> VerifiedSigned
fn clone(&self) -> VerifiedSigned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifiedSigned
impl RefUnwindSafe for VerifiedSigned
impl Send for VerifiedSigned
impl Sync for VerifiedSigned
impl Unpin for VerifiedSigned
impl UnsafeUnpin for VerifiedSigned
impl UnwindSafe for VerifiedSigned
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