pub struct PaymentOrderWebhookEventPayload {
pub payment_order: PaymentOrder,
pub success: bool,
pub reason: String,
pub payment_uid: Uuid,
}Expand description
Webhook event payload indicating operation success or failure
Fields§
§payment_order: PaymentOrderA payment instruction to be carried out at a specific point in time
success: boolIndicates if the payment was successful
reason: StringProvides the reported success or failure reason code
payment_uid: UuidProvides the payment uuid of the successful payment
Trait Implementations§
Source§impl Clone for PaymentOrderWebhookEventPayload
impl Clone for PaymentOrderWebhookEventPayload
Source§fn clone(&self) -> PaymentOrderWebhookEventPayload
fn clone(&self) -> PaymentOrderWebhookEventPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PaymentOrderWebhookEventPayload
impl<'de> Deserialize<'de> for PaymentOrderWebhookEventPayload
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 PaymentOrderWebhookEventPayload
impl PartialEq for PaymentOrderWebhookEventPayload
Source§fn eq(&self, other: &PaymentOrderWebhookEventPayload) -> bool
fn eq(&self, other: &PaymentOrderWebhookEventPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentOrderWebhookEventPayload
impl StructuralPartialEq for PaymentOrderWebhookEventPayload
Auto Trait Implementations§
impl Freeze for PaymentOrderWebhookEventPayload
impl RefUnwindSafe for PaymentOrderWebhookEventPayload
impl Send for PaymentOrderWebhookEventPayload
impl Sync for PaymentOrderWebhookEventPayload
impl Unpin for PaymentOrderWebhookEventPayload
impl UnwindSafe for PaymentOrderWebhookEventPayload
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