pub struct TypeDidAttestation {
pub subject: Did,
pub envelope_id: String,
pub envelope_digest: String,
pub action: String,
pub resource: String,
pub privacy: String,
pub conversation_id: String,
pub protocol: String,
pub mode: TypeDidMode,
pub profile: String,
pub expires_at: Option<u64>,
}Expand description
Policy/audit-safe attestation derived from a verified TypeDID message.
This contains no plaintext payload and no raw signature material. It is the
compact boundary object downstream systems can persist after a
TypeDidGateway has verified the envelope signature, recipient, expiry,
conversation metadata, and payload authentication.
Fields§
§subject: DidVerified sender DID.
envelope_id: StringStable signed envelope id.
envelope_digest: StringSHA-256 digest of the signed envelope reference.
action: StringPolicy-visible requested action.
resource: StringPolicy-visible requested resource.
privacy: StringPolicy-visible privacy class.
conversation_id: StringTypeDID conversation id.
protocol: StringTypeDID transport/protocol family.
mode: TypeDidModeTypeDID delivery mode.
profile: StringNegotiated TypeDID crypto/profile id.
expires_at: Option<u64>Conversation expiry time as unix seconds, when supplied by the sender.
Trait Implementations§
Source§impl Clone for TypeDidAttestation
impl Clone for TypeDidAttestation
Source§fn clone(&self) -> TypeDidAttestation
fn clone(&self) -> TypeDidAttestation
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 TypeDidAttestation
impl Debug for TypeDidAttestation
Source§impl<'de> Deserialize<'de> for TypeDidAttestation
impl<'de> Deserialize<'de> for TypeDidAttestation
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
impl Eq for TypeDidAttestation
Source§impl PartialEq for TypeDidAttestation
impl PartialEq for TypeDidAttestation
Source§fn eq(&self, other: &TypeDidAttestation) -> bool
fn eq(&self, other: &TypeDidAttestation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TypeDidAttestation
impl Serialize for TypeDidAttestation
impl StructuralPartialEq for TypeDidAttestation
Auto Trait Implementations§
impl Freeze for TypeDidAttestation
impl RefUnwindSafe for TypeDidAttestation
impl Send for TypeDidAttestation
impl Sync for TypeDidAttestation
impl Unpin for TypeDidAttestation
impl UnsafeUnpin for TypeDidAttestation
impl UnwindSafe for TypeDidAttestation
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