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
sourceimpl Clone for CreateLocationRequest
impl Clone for CreateLocationRequest
sourcefn clone(&self) -> CreateLocationRequest
fn clone(&self) -> CreateLocationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreateLocationRequest
impl Debug for CreateLocationRequest
sourceimpl Default for CreateLocationRequest
impl Default for CreateLocationRequest
sourcefn default() -> CreateLocationRequest
fn default() -> CreateLocationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateLocationRequest> for CreateLocationRequest
impl PartialEq<CreateLocationRequest> for CreateLocationRequest
sourcefn eq(&self, other: &CreateLocationRequest) -> bool
fn eq(&self, other: &CreateLocationRequest) -> bool
sourceimpl Serialize for CreateLocationRequest
impl Serialize for CreateLocationRequest
impl StructuralPartialEq for CreateLocationRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateLocationRequest
impl Send for CreateLocationRequest
impl Sync for CreateLocationRequest
impl Unpin for CreateLocationRequest
impl UnwindSafe for CreateLocationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more