pub struct CreateGiftCardActivityRequest {
pub idempotency_key: String,
pub gift_card_activity: GiftCardActivity,
}Expand description
This is a model struct for CreateGiftCardActivityRequest type
Fields§
§idempotency_key: StringA unique string that identifies the CreateGiftCardActivity request.
Min Length: 1 Max Length: 128
gift_card_activity: GiftCardActivityThe activity to create for the gift card. This activity must specify gift_card_id or
gift_card_gan for the target gift card, the location_id where the activity occurred, and
the activity type along with the corresponding activity details.
Trait Implementations§
Source§impl Clone for CreateGiftCardActivityRequest
impl Clone for CreateGiftCardActivityRequest
Source§fn clone(&self) -> CreateGiftCardActivityRequest
fn clone(&self) -> CreateGiftCardActivityRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateGiftCardActivityRequest
impl Default for CreateGiftCardActivityRequest
Source§fn default() -> CreateGiftCardActivityRequest
fn default() -> CreateGiftCardActivityRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateGiftCardActivityRequest
impl PartialEq for CreateGiftCardActivityRequest
Source§fn eq(&self, other: &CreateGiftCardActivityRequest) -> bool
fn eq(&self, other: &CreateGiftCardActivityRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateGiftCardActivityRequest
impl StructuralPartialEq for CreateGiftCardActivityRequest
Auto Trait Implementations§
impl Freeze for CreateGiftCardActivityRequest
impl RefUnwindSafe for CreateGiftCardActivityRequest
impl Send for CreateGiftCardActivityRequest
impl Sync for CreateGiftCardActivityRequest
impl Unpin for CreateGiftCardActivityRequest
impl UnwindSafe for CreateGiftCardActivityRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.