square_api_client/models/retrieve_location_response.rs
1//! Model struct for RetrieveLocationResponse type
2
3use serde::Deserialize;
4
5use super::{errors::Error, Location};
6
7/// This is a model struct for RetrieveLocationResponse type
8#[derive(Clone, Debug, Deserialize, PartialEq)]
9pub struct RetrieveLocationResponse {
10 /// Information about errors encountered during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The requested location.
13 pub location: Option<Location>,
14}