square_api_client/models/
list_locations_response.rs

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