pub struct ConfirmDeliveryOutput {
pub purchase_id: Uuid,
pub status: PurchaseStatus,
pub order_id: Option<Uuid>,
pub confirmed_at: DateTime<Utc>,
pub release_tx_hash: Option<String>,
}Expand description
Output from confirm_delivery skill
Fields§
§purchase_id: UuidPurchase ID
status: PurchaseStatusUpdated status (should be Completed)
order_id: Option<Uuid>Order ID created from this purchase
confirmed_at: DateTime<Utc>Confirmation timestamp
release_tx_hash: Option<String>Any escrow release transaction hash
Trait Implementations§
Source§impl Clone for ConfirmDeliveryOutput
impl Clone for ConfirmDeliveryOutput
Source§fn clone(&self) -> ConfirmDeliveryOutput
fn clone(&self) -> ConfirmDeliveryOutput
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 ConfirmDeliveryOutput
impl Debug for ConfirmDeliveryOutput
Source§impl<'de> Deserialize<'de> for ConfirmDeliveryOutput
impl<'de> Deserialize<'de> for ConfirmDeliveryOutput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmDeliveryOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmDeliveryOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ConfirmDeliveryOutput
impl Serialize for ConfirmDeliveryOutput
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
Auto Trait Implementations§
impl Freeze for ConfirmDeliveryOutput
impl RefUnwindSafe for ConfirmDeliveryOutput
impl Send for ConfirmDeliveryOutput
impl Sync for ConfirmDeliveryOutput
impl Unpin for ConfirmDeliveryOutput
impl UnsafeUnpin for ConfirmDeliveryOutput
impl UnwindSafe for ConfirmDeliveryOutput
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