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