pub struct OrderHistory {
pub cancellation_event: Option<CancellationEvent>,
pub partial_refund_events: Option<Vec<PartialRefundEvent>>,
pub processed_event: Option<ProcessedEvent>,
pub refund_event: Option<RefundEvent>,
}Expand description
Details about events which modified the order.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cancellation_event: Option<CancellationEvent>Details of when the order was canceled.
partial_refund_events: Option<Vec<PartialRefundEvent>>Details of the partial refund events for this order.
processed_event: Option<ProcessedEvent>Details of when the order was processed.
refund_event: Option<RefundEvent>Details of when the order was fully refunded.
Trait Implementations§
Source§impl Clone for OrderHistory
impl Clone for OrderHistory
Source§fn clone(&self) -> OrderHistory
fn clone(&self) -> OrderHistory
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 Debug for OrderHistory
impl Debug for OrderHistory
Source§impl Default for OrderHistory
impl Default for OrderHistory
Source§fn default() -> OrderHistory
fn default() -> OrderHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderHistory
impl<'de> Deserialize<'de> for OrderHistory
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 Serialize for OrderHistory
impl Serialize for OrderHistory
impl Part for OrderHistory
Auto Trait Implementations§
impl Freeze for OrderHistory
impl RefUnwindSafe for OrderHistory
impl Send for OrderHistory
impl Sync for OrderHistory
impl Unpin for OrderHistory
impl UnwindSafe for OrderHistory
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