Struct square_api_client::models::CreateLocationRequest
source · pub struct CreateLocationRequest {
pub location: Location,
}
Expand description
This is a model struct for CreateLocationRequest type
Fields§
§location: Location
The initial values of the location being created. The name field is required and must be unique within a seller account. All other fields are optional, but any information you care about for the location should be included. The remaining fields are automatically added based on the data from the main location.
Trait Implementations§
source§impl Clone for CreateLocationRequest
impl Clone for CreateLocationRequest
source§fn clone(&self) -> CreateLocationRequest
fn clone(&self) -> CreateLocationRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateLocationRequest
impl Debug for CreateLocationRequest
source§impl Default for CreateLocationRequest
impl Default for CreateLocationRequest
source§fn default() -> CreateLocationRequest
fn default() -> CreateLocationRequest
Returns the “default value” for a type. Read more