squareup/models/
create_gift_card_response.rs

1//! Model struct for CreateGiftCardResponse type
2
3use serde::Deserialize;
4
5use super::{GiftCard, errors::Error};
6
7/// This is a model struct for CreateGiftCardResponse type
8#[derive(Clone, Debug, Deserialize, Eq, PartialEq)]
9pub struct CreateGiftCardResponse {
10    /// Any errors that occurred during the request.
11    pub errors: Option<Vec<Error>>,
12    /// The new gift card.
13    pub gift_card: Option<GiftCard>,
14}