pub struct LocationUpdatedEvent {
pub merchant_id: Option<Option<String>>,
pub location_id: Option<Option<String>>,
pub type: Option<Option<String>>,
pub event_id: Option<Option<String>>,
pub created_at: Option<String>,
pub data: Option<Box<LocationUpdatedEventData>>,
}Expand description
LocationUpdatedEvent : Published when a Location is updated.
Fields§
§merchant_id: Option<Option<String>>The ID of the target merchant associated with the event.
location_id: Option<Option<String>>The ID of the Location associated with the event.
type: Option<Option<String>>The type of event this represents, \"location.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<LocationUpdatedEventData>>Implementations§
Source§impl LocationUpdatedEvent
impl LocationUpdatedEvent
Sourcepub fn new() -> LocationUpdatedEvent
pub fn new() -> LocationUpdatedEvent
Published when a Location is updated.
Trait Implementations§
Source§impl Clone for LocationUpdatedEvent
impl Clone for LocationUpdatedEvent
Source§fn clone(&self) -> LocationUpdatedEvent
fn clone(&self) -> LocationUpdatedEvent
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 LocationUpdatedEvent
impl Debug for LocationUpdatedEvent
Source§impl Default for LocationUpdatedEvent
impl Default for LocationUpdatedEvent
Source§fn default() -> LocationUpdatedEvent
fn default() -> LocationUpdatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationUpdatedEvent
impl<'de> Deserialize<'de> for LocationUpdatedEvent
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 LocationUpdatedEvent
impl PartialEq for LocationUpdatedEvent
Source§impl Serialize for LocationUpdatedEvent
impl Serialize for LocationUpdatedEvent
impl StructuralPartialEq for LocationUpdatedEvent
Auto Trait Implementations§
impl Freeze for LocationUpdatedEvent
impl RefUnwindSafe for LocationUpdatedEvent
impl Send for LocationUpdatedEvent
impl Sync for LocationUpdatedEvent
impl Unpin for LocationUpdatedEvent
impl UnsafeUnpin for LocationUpdatedEvent
impl UnwindSafe for LocationUpdatedEvent
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