Struct square_api_client::models::CreateGiftCardResponse
source · [−]pub struct CreateGiftCardResponse {
pub errors: Option<Vec<Error>>,
pub gift_card: Option<GiftCard>,
}
Expand description
This is a model struct for CreateGiftCardResponse type
Fields
errors: Option<Vec<Error>>
Any errors that occurred during the request.
gift_card: Option<GiftCard>
The new gift card.
Trait Implementations
sourceimpl Clone for CreateGiftCardResponse
impl Clone for CreateGiftCardResponse
sourcefn clone(&self) -> CreateGiftCardResponse
fn clone(&self) -> CreateGiftCardResponse
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 CreateGiftCardResponse
impl Debug for CreateGiftCardResponse
sourceimpl<'de> Deserialize<'de> for CreateGiftCardResponse
impl<'de> Deserialize<'de> for CreateGiftCardResponse
sourcefn 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
sourceimpl PartialEq<CreateGiftCardResponse> for CreateGiftCardResponse
impl PartialEq<CreateGiftCardResponse> for CreateGiftCardResponse
sourcefn eq(&self, other: &CreateGiftCardResponse) -> bool
fn eq(&self, other: &CreateGiftCardResponse) -> bool
impl StructuralPartialEq for CreateGiftCardResponse
Auto Trait Implementations
impl RefUnwindSafe for CreateGiftCardResponse
impl Send for CreateGiftCardResponse
impl Sync for CreateGiftCardResponse
impl Unpin for CreateGiftCardResponse
impl UnwindSafe for CreateGiftCardResponse
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