pub struct DagDbReceiptLookupResponse {Show 14 fields
pub schema_version: String,
pub tenant_id: String,
pub namespace: String,
pub receipt_hash: String,
pub subject_kind: SubjectKind,
pub subject_id: String,
pub prev_receipt_hash: String,
pub seq: u64,
pub event_type: ReceiptEventType,
pub actor_did: String,
pub event_hlc: String,
pub created_at: String,
pub receipt_body: Option<Value>,
pub validation_report_id: Option<String>,
}Expand description
Receipt lookup response.
Fields§
§schema_version: StringStable wire-contract version (dagdb_receipt_lookup_response_v1).
tenant_id: String§namespace: String§receipt_hash: String§subject_kind: SubjectKind§subject_id: String§prev_receipt_hash: String§seq: u64§event_type: ReceiptEventType§actor_did: String§event_hlc: String§created_at: String§receipt_body: Option<Value>§validation_report_id: Option<String>Trait Implementations§
Source§impl Clone for DagDbReceiptLookupResponse
impl Clone for DagDbReceiptLookupResponse
Source§fn clone(&self) -> DagDbReceiptLookupResponse
fn clone(&self) -> DagDbReceiptLookupResponse
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 DagDbReceiptLookupResponse
impl Debug for DagDbReceiptLookupResponse
Source§impl<'de> Deserialize<'de> for DagDbReceiptLookupResponse
impl<'de> Deserialize<'de> for DagDbReceiptLookupResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbReceiptLookupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbReceiptLookupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbReceiptLookupResponse
Source§impl PartialEq for DagDbReceiptLookupResponse
impl PartialEq for DagDbReceiptLookupResponse
Source§fn eq(&self, other: &DagDbReceiptLookupResponse) -> bool
fn eq(&self, other: &DagDbReceiptLookupResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbReceiptLookupResponse
impl Serialize for DagDbReceiptLookupResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DagDbReceiptLookupResponse
Auto Trait Implementations§
impl Freeze for DagDbReceiptLookupResponse
impl RefUnwindSafe for DagDbReceiptLookupResponse
impl Send for DagDbReceiptLookupResponse
impl Sync for DagDbReceiptLookupResponse
impl Unpin for DagDbReceiptLookupResponse
impl UnsafeUnpin for DagDbReceiptLookupResponse
impl UnwindSafe for DagDbReceiptLookupResponse
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