pub struct LaborShiftUpdatedEvent {
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<LaborShiftUpdatedEventData>>,
}Expand description
LaborShiftUpdatedEvent : Published when a Shift is updated. Deprecated at Square API version 2025-05-21. Replaced by labor.timecard.updated.
Fields§
§merchant_id: Option<Option<String>>The ID of the merchant associated with the event.
type: Option<Option<String>>The type of event. For this event, the value is labor.shift.updated.
event_id: Option<Option<String>>The unique ID for the event.
created_at: Option<String>The timestamp of when the event was created, in RFC 3339 format.
data: Option<Box<LaborShiftUpdatedEventData>>Implementations§
Source§impl LaborShiftUpdatedEvent
impl LaborShiftUpdatedEvent
Sourcepub fn new() -> LaborShiftUpdatedEvent
pub fn new() -> LaborShiftUpdatedEvent
Published when a Shift is updated. Deprecated at Square API version 2025-05-21. Replaced by labor.timecard.updated.
Trait Implementations§
Source§impl Clone for LaborShiftUpdatedEvent
impl Clone for LaborShiftUpdatedEvent
Source§fn clone(&self) -> LaborShiftUpdatedEvent
fn clone(&self) -> LaborShiftUpdatedEvent
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 LaborShiftUpdatedEvent
impl Debug for LaborShiftUpdatedEvent
Source§impl Default for LaborShiftUpdatedEvent
impl Default for LaborShiftUpdatedEvent
Source§fn default() -> LaborShiftUpdatedEvent
fn default() -> LaborShiftUpdatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LaborShiftUpdatedEvent
impl<'de> Deserialize<'de> for LaborShiftUpdatedEvent
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 LaborShiftUpdatedEvent
impl PartialEq for LaborShiftUpdatedEvent
Source§impl Serialize for LaborShiftUpdatedEvent
impl Serialize for LaborShiftUpdatedEvent
impl StructuralPartialEq for LaborShiftUpdatedEvent
Auto Trait Implementations§
impl Freeze for LaborShiftUpdatedEvent
impl RefUnwindSafe for LaborShiftUpdatedEvent
impl Send for LaborShiftUpdatedEvent
impl Sync for LaborShiftUpdatedEvent
impl Unpin for LaborShiftUpdatedEvent
impl UnsafeUnpin for LaborShiftUpdatedEvent
impl UnwindSafe for LaborShiftUpdatedEvent
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