square_api_client/models/
create_location_request.rs

1//! Model struct for CreateLocationRequest type
2
3use serde::Serialize;
4
5use super::Location;
6
7/// This is a model struct for CreateLocationRequest type
8#[derive(Clone, Debug, Default, PartialEq, Serialize)]
9pub struct CreateLocationRequest {
10    /// The initial values of the location being created. The name field is required and must be
11    /// unique within a seller account. All other fields are optional, but any information you care
12    /// about for the location should be included. The remaining fields are automatically added
13    /// based on the data from the main location.
14    pub location: Location,
15}