pub struct ActionReceipt {
pub id: String,
pub action_intent_id: String,
pub provider_version: String,
pub received_at: DateTime<Utc>,
pub outcome: ActionState,
pub payload: Value,
pub raw_receipt_digest: String,
}Expand description
Provider’s answer to a dispatch.
Fields§
§id: StringStable identifier of this record.
action_intent_id: StringIntent this refers to.
provider_version: StringProvider version that produced it.
received_at: DateTime<Utc>When the receipt arrived.
outcome: ActionStateState the provider reports.
payload: ValueStructured payload.
raw_receipt_digest: StringDigest of the raw provider response; deduplicates receipts.
Trait Implementations§
Source§impl Clone for ActionReceipt
impl Clone for ActionReceipt
Source§fn clone(&self) -> ActionReceipt
fn clone(&self) -> ActionReceipt
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 ActionReceipt
impl Debug for ActionReceipt
Source§impl<'de> Deserialize<'de> for ActionReceipt
impl<'de> Deserialize<'de> for ActionReceipt
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
Source§impl PartialEq for ActionReceipt
impl PartialEq for ActionReceipt
Source§impl Serialize for ActionReceipt
impl Serialize for ActionReceipt
impl StructuralPartialEq for ActionReceipt
Auto Trait Implementations§
impl Freeze for ActionReceipt
impl RefUnwindSafe for ActionReceipt
impl Send for ActionReceipt
impl Sync for ActionReceipt
impl Unpin for ActionReceipt
impl UnsafeUnpin for ActionReceipt
impl UnwindSafe for ActionReceipt
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