pub struct ProtocolExecutionReceiptV1 {Show 17 fields
pub schema: String,
pub signature: String,
pub slot: String,
pub deployment: ReceiptDeploymentV1,
pub trust_tier: TrustTier,
pub review_hash: Option<HashId<ProtocolReleaseReview>>,
pub step: String,
pub instance_id: String,
pub participant_id: Option<String>,
pub transaction: ReceiptTransactionV1,
pub message_sha256: String,
pub intent_hash: HashId<ExecutionIntent>,
pub attestation_pubkey: String,
pub fees: Option<ReceiptFeesV1>,
pub status: ReceiptStatus,
pub issued_at: i64,
pub signatures: Vec<ReceiptSignatureV1>,
}Expand description
A signed execution receipt.
Fields§
§schema: String§signature: StringThe transaction’s first signature, base58.
slot: StringThe slot the transaction landed in, as a decimal string.
deployment: ReceiptDeploymentV1§trust_tier: TrustTier§review_hash: Option<HashId<ProtocolReleaseReview>>The release review, present exactly when trustTier is reviewed.
step: String§instance_id: String§participant_id: Option<String>§transaction: ReceiptTransactionV1§message_sha256: StringLowercase hex SHA-256 of the exact message bytes.
intent_hash: HashId<ExecutionIntent>§attestation_pubkey: StringThe revision’s attestation key: the memo’s only account and a signer of the message.
fees: Option<ReceiptFeesV1>§status: ReceiptStatus§issued_at: i64Unix seconds.
signatures: Vec<ReceiptSignatureV1>Implementations§
Source§impl ProtocolExecutionReceiptV1
impl ProtocolExecutionReceiptV1
Sourcepub fn canonical_body(&self) -> Result<Vec<u8>, HashError>
pub fn canonical_body(&self) -> Result<Vec<u8>, HashError>
The body’s Arete JCS bytes: the receipt without signatures.
Sourcepub fn body_sha256(&self) -> Result<String, HashError>
pub fn body_sha256(&self) -> Result<String, HashError>
Lowercase hex SHA-256 of Self::canonical_body.
Trait Implementations§
Source§impl Clone for ProtocolExecutionReceiptV1
impl Clone for ProtocolExecutionReceiptV1
Source§impl Debug for ProtocolExecutionReceiptV1
impl Debug for ProtocolExecutionReceiptV1
Source§impl<'de> Deserialize<'de> for ProtocolExecutionReceiptV1
impl<'de> Deserialize<'de> for ProtocolExecutionReceiptV1
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 ProtocolExecutionReceiptV1
impl StructuralPartialEq for ProtocolExecutionReceiptV1
Auto Trait Implementations§
impl Freeze for ProtocolExecutionReceiptV1
impl RefUnwindSafe for ProtocolExecutionReceiptV1
impl Send for ProtocolExecutionReceiptV1
impl Sync for ProtocolExecutionReceiptV1
impl Unpin for ProtocolExecutionReceiptV1
impl UnsafeUnpin for ProtocolExecutionReceiptV1
impl UnwindSafe for ProtocolExecutionReceiptV1
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