pub struct GiftCardCustomerLinkedEventObject {
pub gift_card: Option<Box<GiftCard>>,
pub linked_customer_id: Option<Option<String>>,
}Expand description
GiftCardCustomerLinkedEventObject : An object that contains the gift card and customer ID associated with a gift_card.customer_linked event.
Fields§
§gift_card: Option<Box<GiftCard>>§linked_customer_id: Option<Option<String>>The ID of the linked customer.
Implementations§
Source§impl GiftCardCustomerLinkedEventObject
impl GiftCardCustomerLinkedEventObject
Sourcepub fn new() -> GiftCardCustomerLinkedEventObject
pub fn new() -> GiftCardCustomerLinkedEventObject
An object that contains the gift card and customer ID associated with a gift_card.customer_linked event.
Trait Implementations§
Source§impl Clone for GiftCardCustomerLinkedEventObject
impl Clone for GiftCardCustomerLinkedEventObject
Source§fn clone(&self) -> GiftCardCustomerLinkedEventObject
fn clone(&self) -> GiftCardCustomerLinkedEventObject
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 GiftCardCustomerLinkedEventObject
impl Default for GiftCardCustomerLinkedEventObject
Source§fn default() -> GiftCardCustomerLinkedEventObject
fn default() -> GiftCardCustomerLinkedEventObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GiftCardCustomerLinkedEventObject
impl<'de> Deserialize<'de> for GiftCardCustomerLinkedEventObject
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 GiftCardCustomerLinkedEventObject
Auto Trait Implementations§
impl Freeze for GiftCardCustomerLinkedEventObject
impl RefUnwindSafe for GiftCardCustomerLinkedEventObject
impl Send for GiftCardCustomerLinkedEventObject
impl Sync for GiftCardCustomerLinkedEventObject
impl Unpin for GiftCardCustomerLinkedEventObject
impl UnsafeUnpin for GiftCardCustomerLinkedEventObject
impl UnwindSafe for GiftCardCustomerLinkedEventObject
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