Struct squareup::models::UpdateBookingRequest
source · pub struct UpdateBookingRequest {
pub idempotency_key: Option<String>,
pub booking: Booking,
}Expand description
This is a model class for UpdateBookingRequest type.
Fields§
§idempotency_key: Option<String>A unique key to make this request an idempotent operation. Max Length 255
booking: BookingThe booking to be updated. Individual attributes explicitly specified here override the corresponding values of the existing booking.
Trait Implementations§
source§impl Clone for UpdateBookingRequest
impl Clone for UpdateBookingRequest
source§fn clone(&self) -> UpdateBookingRequest
fn clone(&self) -> UpdateBookingRequest
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 UpdateBookingRequest
impl Debug for UpdateBookingRequest
source§impl Default for UpdateBookingRequest
impl Default for UpdateBookingRequest
source§fn default() -> UpdateBookingRequest
fn default() -> UpdateBookingRequest
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateBookingRequest
impl PartialEq for UpdateBookingRequest
source§fn eq(&self, other: &UpdateBookingRequest) -> bool
fn eq(&self, other: &UpdateBookingRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UpdateBookingRequest
impl Serialize for UpdateBookingRequest
impl Eq for UpdateBookingRequest
impl StructuralPartialEq for UpdateBookingRequest
Auto Trait Implementations§
impl RefUnwindSafe for UpdateBookingRequest
impl Send for UpdateBookingRequest
impl Sync for UpdateBookingRequest
impl Unpin for UpdateBookingRequest
impl UnwindSafe for UpdateBookingRequest
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.