pub struct LoyaltyProgramCreatedEventObject {
pub loyalty_program: Option<Box<LoyaltyProgram>>,
}Expand description
LoyaltyProgramCreatedEventObject : An object that contains the loyalty program associated with a loyalty.program.created event.
Fields§
§loyalty_program: Option<Box<LoyaltyProgram>>Implementations§
Source§impl LoyaltyProgramCreatedEventObject
impl LoyaltyProgramCreatedEventObject
Sourcepub fn new() -> LoyaltyProgramCreatedEventObject
pub fn new() -> LoyaltyProgramCreatedEventObject
An object that contains the loyalty program associated with a loyalty.program.created event.
Trait Implementations§
Source§impl Clone for LoyaltyProgramCreatedEventObject
impl Clone for LoyaltyProgramCreatedEventObject
Source§fn clone(&self) -> LoyaltyProgramCreatedEventObject
fn clone(&self) -> LoyaltyProgramCreatedEventObject
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 LoyaltyProgramCreatedEventObject
impl Default for LoyaltyProgramCreatedEventObject
Source§fn default() -> LoyaltyProgramCreatedEventObject
fn default() -> LoyaltyProgramCreatedEventObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoyaltyProgramCreatedEventObject
impl<'de> Deserialize<'de> for LoyaltyProgramCreatedEventObject
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 LoyaltyProgramCreatedEventObject
Auto Trait Implementations§
impl Freeze for LoyaltyProgramCreatedEventObject
impl RefUnwindSafe for LoyaltyProgramCreatedEventObject
impl Send for LoyaltyProgramCreatedEventObject
impl Sync for LoyaltyProgramCreatedEventObject
impl Unpin for LoyaltyProgramCreatedEventObject
impl UnsafeUnpin for LoyaltyProgramCreatedEventObject
impl UnwindSafe for LoyaltyProgramCreatedEventObject
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