pub struct SignatureEnvelope {
pub contract_version: ContractVersion,
pub suite: SignatureSuite,
pub signer: Did,
pub key_id: String,
pub key_epoch: u64,
pub purpose: KeyPurpose,
pub signed_domain: String,
pub signature: Signature,
}Expand description
Signer selection and historical-verification coordinates authenticated by
the envelope. (signer, key_id, key_epoch) resolves through retained
accepted-current evidence; state_epoch is not a substitute for key epoch.
Fields§
§contract_version: ContractVersion§suite: SignatureSuite§signer: Did§key_id: String§key_epoch: u64§purpose: KeyPurpose§signed_domain: String§signature: SignatureTrait Implementations§
Source§impl Clone for SignatureEnvelope
impl Clone for SignatureEnvelope
Source§fn clone(&self) -> SignatureEnvelope
fn clone(&self) -> SignatureEnvelope
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 moreSource§impl Debug for SignatureEnvelope
impl Debug for SignatureEnvelope
Source§impl PartialEq for SignatureEnvelope
impl PartialEq for SignatureEnvelope
Source§fn eq(&self, other: &SignatureEnvelope) -> bool
fn eq(&self, other: &SignatureEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SignatureEnvelope
impl StructuralPartialEq for SignatureEnvelope
Auto Trait Implementations§
impl Freeze for SignatureEnvelope
impl RefUnwindSafe for SignatureEnvelope
impl Send for SignatureEnvelope
impl Sync for SignatureEnvelope
impl Unpin for SignatureEnvelope
impl UnsafeUnpin for SignatureEnvelope
impl UnwindSafe for SignatureEnvelope
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