pub struct CreateGiftCardActivityResponse {
pub errors: Option<Vec<Error>>,
pub gift_card_activity: Option<Box<GiftCardActivity>>,
}Expand description
CreateGiftCardActivityResponse : A response that contains a GiftCardActivity that was created. The response might contain a set of Error objects if the request resulted in errors.
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
gift_card_activity: Option<Box<GiftCardActivity>>Implementations§
Source§impl CreateGiftCardActivityResponse
impl CreateGiftCardActivityResponse
Sourcepub fn new() -> CreateGiftCardActivityResponse
pub fn new() -> CreateGiftCardActivityResponse
A response that contains a GiftCardActivity that was created. The response might contain a set of Error objects if the request resulted in errors.
Trait Implementations§
Source§impl Clone for CreateGiftCardActivityResponse
impl Clone for CreateGiftCardActivityResponse
Source§fn clone(&self) -> CreateGiftCardActivityResponse
fn clone(&self) -> CreateGiftCardActivityResponse
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 CreateGiftCardActivityResponse
impl Default for CreateGiftCardActivityResponse
Source§fn default() -> CreateGiftCardActivityResponse
fn default() -> CreateGiftCardActivityResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateGiftCardActivityResponse
impl<'de> Deserialize<'de> for CreateGiftCardActivityResponse
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 CreateGiftCardActivityResponse
Auto Trait Implementations§
impl Freeze for CreateGiftCardActivityResponse
impl RefUnwindSafe for CreateGiftCardActivityResponse
impl Send for CreateGiftCardActivityResponse
impl Sync for CreateGiftCardActivityResponse
impl Unpin for CreateGiftCardActivityResponse
impl UnsafeUnpin for CreateGiftCardActivityResponse
impl UnwindSafe for CreateGiftCardActivityResponse
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