pub struct OrderUpdatedEvent {
pub merchant_id: Option<Option<String>>,
pub type: Option<Option<String>>,
pub event_id: Option<Option<String>>,
pub created_at: Option<String>,
pub data: Option<Box<OrderUpdatedEventData>>,
}Expand description
OrderUpdatedEvent : Published when an Order is updated. This event is triggered by the UpdateOrder endpoint call, Order Manager, or the Square Dashboard.
Fields§
§merchant_id: Option<Option<String>>The ID of the target merchant associated with the event.
type: Option<Option<String>>The type of event this represents, \"order.updated\".
event_id: Option<Option<String>>A unique ID for the event.
created_at: Option<String>Timestamp of when the event was created, in RFC 3339 format.
data: Option<Box<OrderUpdatedEventData>>Implementations§
Source§impl OrderUpdatedEvent
impl OrderUpdatedEvent
Sourcepub fn new() -> OrderUpdatedEvent
pub fn new() -> OrderUpdatedEvent
Published when an Order is updated. This event is triggered by the UpdateOrder endpoint call, Order Manager, or the Square Dashboard.
Trait Implementations§
Source§impl Clone for OrderUpdatedEvent
impl Clone for OrderUpdatedEvent
Source§fn clone(&self) -> OrderUpdatedEvent
fn clone(&self) -> OrderUpdatedEvent
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 OrderUpdatedEvent
impl Debug for OrderUpdatedEvent
Source§impl Default for OrderUpdatedEvent
impl Default for OrderUpdatedEvent
Source§fn default() -> OrderUpdatedEvent
fn default() -> OrderUpdatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderUpdatedEvent
impl<'de> Deserialize<'de> for OrderUpdatedEvent
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 OrderUpdatedEvent
impl PartialEq for OrderUpdatedEvent
Source§impl Serialize for OrderUpdatedEvent
impl Serialize for OrderUpdatedEvent
impl StructuralPartialEq for OrderUpdatedEvent
Auto Trait Implementations§
impl Freeze for OrderUpdatedEvent
impl RefUnwindSafe for OrderUpdatedEvent
impl Send for OrderUpdatedEvent
impl Sync for OrderUpdatedEvent
impl Unpin for OrderUpdatedEvent
impl UnsafeUnpin for OrderUpdatedEvent
impl UnwindSafe for OrderUpdatedEvent
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