pub struct LoyaltyProgramUpdatedEventData {
pub type: Option<Option<String>>,
pub id: Option<String>,
pub object: Option<Box<LoyaltyProgramUpdatedEventObject>>,
}Expand description
LoyaltyProgramUpdatedEventData : The data associated with a loyalty.program.updated event.
Fields§
§type: Option<Option<String>>The type of object affected by the event. For this event, the value is loyalty_program.
id: Option<String>The ID of the affected loyalty program.
object: Option<Box<LoyaltyProgramUpdatedEventObject>>Implementations§
Source§impl LoyaltyProgramUpdatedEventData
impl LoyaltyProgramUpdatedEventData
Sourcepub fn new() -> LoyaltyProgramUpdatedEventData
pub fn new() -> LoyaltyProgramUpdatedEventData
The data associated with a loyalty.program.updated event.
Trait Implementations§
Source§impl Clone for LoyaltyProgramUpdatedEventData
impl Clone for LoyaltyProgramUpdatedEventData
Source§fn clone(&self) -> LoyaltyProgramUpdatedEventData
fn clone(&self) -> LoyaltyProgramUpdatedEventData
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 Default for LoyaltyProgramUpdatedEventData
impl Default for LoyaltyProgramUpdatedEventData
Source§fn default() -> LoyaltyProgramUpdatedEventData
fn default() -> LoyaltyProgramUpdatedEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoyaltyProgramUpdatedEventData
impl<'de> Deserialize<'de> for LoyaltyProgramUpdatedEventData
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
impl StructuralPartialEq for LoyaltyProgramUpdatedEventData
Auto Trait Implementations§
impl Freeze for LoyaltyProgramUpdatedEventData
impl RefUnwindSafe for LoyaltyProgramUpdatedEventData
impl Send for LoyaltyProgramUpdatedEventData
impl Sync for LoyaltyProgramUpdatedEventData
impl Unpin for LoyaltyProgramUpdatedEventData
impl UnsafeUnpin for LoyaltyProgramUpdatedEventData
impl UnwindSafe for LoyaltyProgramUpdatedEventData
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