square_api_client/models/create_customer_group_response.rs
1//! Response body struct for the Create Customer Group API
2
3/// This is a model struct for CreateCustomerGroupResponse type
4use serde::Deserialize;
5
6use super::{errors::Error, CustomerGroup};
7
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct CreateCustomerGroupResponse {
10 /// Any errors that occurred during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The successfully created customer group.
13 pub group: CustomerGroup,
14}