Struct squareup::models::CreateBookingResponse
source · pub struct CreateBookingResponse {
pub booking: Option<Booking>,
pub errors: Option<Vec<Error>>,
}Expand description
This is a model struct for CreateBookingResponse type.
Fields§
§booking: Option<Booking>The Booking that was created.
errors: Option<Vec<Error>>Any errors that occurred during the request.
Trait Implementations§
source§impl Clone for CreateBookingResponse
impl Clone for CreateBookingResponse
source§fn clone(&self) -> CreateBookingResponse
fn clone(&self) -> CreateBookingResponse
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 CreateBookingResponse
impl Debug for CreateBookingResponse
source§impl Default for CreateBookingResponse
impl Default for CreateBookingResponse
source§fn default() -> CreateBookingResponse
fn default() -> CreateBookingResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBookingResponse
impl<'de> Deserialize<'de> for CreateBookingResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CreateBookingResponse
impl PartialEq for CreateBookingResponse
source§fn eq(&self, other: &CreateBookingResponse) -> bool
fn eq(&self, other: &CreateBookingResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CreateBookingResponse
impl StructuralPartialEq for CreateBookingResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateBookingResponse
impl Send for CreateBookingResponse
impl Sync for CreateBookingResponse
impl Unpin for CreateBookingResponse
impl UnwindSafe for CreateBookingResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.