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: String
A unique string that identifies the CreateGiftCardActivity request.
Min Length: 1 Max Length: 128
gift_card_activity: GiftCardActivity
The 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
sourceimpl Clone for CreateGiftCardActivityRequest
impl Clone for CreateGiftCardActivityRequest
sourcefn clone(&self) -> CreateGiftCardActivityRequest
fn clone(&self) -> CreateGiftCardActivityRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreateGiftCardActivityRequest
impl Debug for CreateGiftCardActivityRequest
sourceimpl Default for CreateGiftCardActivityRequest
impl Default for CreateGiftCardActivityRequest
sourcefn default() -> CreateGiftCardActivityRequest
fn default() -> CreateGiftCardActivityRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateGiftCardActivityRequest> for CreateGiftCardActivityRequest
impl PartialEq<CreateGiftCardActivityRequest> for CreateGiftCardActivityRequest
sourcefn eq(&self, other: &CreateGiftCardActivityRequest) -> bool
fn eq(&self, other: &CreateGiftCardActivityRequest) -> bool
impl StructuralPartialEq for CreateGiftCardActivityRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateGiftCardActivityRequest
impl Send for CreateGiftCardActivityRequest
impl Sync for CreateGiftCardActivityRequest
impl Unpin for CreateGiftCardActivityRequest
impl UnwindSafe for CreateGiftCardActivityRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more