pub struct OrderPayload {
pub order: Wrapped<Order>,
pub payment: Option<Wrapped<Payment>>,
}Expand description
Payload of an order-related event.
Fields§
§order: Wrapped<Order>The order the event is about.
payment: Option<Wrapped<Payment>>The payment that paid it, when included.
Trait Implementations§
Source§impl Clone for OrderPayload
impl Clone for OrderPayload
Source§impl Debug for OrderPayload
impl Debug for OrderPayload
Source§impl<'de> Deserialize<'de> for OrderPayload
impl<'de> Deserialize<'de> for OrderPayload
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 OrderPayload
impl PartialEq for OrderPayload
impl StructuralPartialEq for OrderPayload
Auto Trait Implementations§
impl Freeze for OrderPayload
impl RefUnwindSafe for OrderPayload
impl Send for OrderPayload
impl Sync for OrderPayload
impl Unpin for OrderPayload
impl UnsafeUnpin for OrderPayload
impl UnwindSafe for OrderPayload
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