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§
source§impl Clone for CreateGiftCardResponse
impl Clone for CreateGiftCardResponse
source§fn clone(&self) -> CreateGiftCardResponse
fn clone(&self) -> CreateGiftCardResponse
Returns a copy 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 Debug for CreateGiftCardResponse
impl Debug for CreateGiftCardResponse
source§impl<'de> Deserialize<'de> for CreateGiftCardResponse
impl<'de> Deserialize<'de> for CreateGiftCardResponse
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
source§impl PartialEq<CreateGiftCardResponse> for CreateGiftCardResponse
impl PartialEq<CreateGiftCardResponse> for CreateGiftCardResponse
source§fn eq(&self, other: &CreateGiftCardResponse) -> bool
fn eq(&self, other: &CreateGiftCardResponse) -> bool
impl Eq for CreateGiftCardResponse
impl StructuralEq for CreateGiftCardResponse
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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.