pub struct UpdateBookingResponse {
pub booking: Option<Box<Booking>>,
pub errors: Option<Vec<Error>>,
}Fields§
§booking: Option<Box<Booking>>§errors: Option<Vec<Error>>Errors that occurred during the request.
Implementations§
Source§impl UpdateBookingResponse
impl UpdateBookingResponse
pub fn new() -> UpdateBookingResponse
Trait Implementations§
Source§impl Clone for UpdateBookingResponse
impl Clone for UpdateBookingResponse
Source§fn clone(&self) -> UpdateBookingResponse
fn clone(&self) -> UpdateBookingResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateBookingResponse
impl Debug for UpdateBookingResponse
Source§impl Default for UpdateBookingResponse
impl Default for UpdateBookingResponse
Source§fn default() -> UpdateBookingResponse
fn default() -> UpdateBookingResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateBookingResponse
impl<'de> Deserialize<'de> for UpdateBookingResponse
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 UpdateBookingResponse
impl PartialEq for UpdateBookingResponse
Source§impl Serialize for UpdateBookingResponse
impl Serialize for UpdateBookingResponse
impl StructuralPartialEq for UpdateBookingResponse
Auto Trait Implementations§
impl Freeze for UpdateBookingResponse
impl RefUnwindSafe for UpdateBookingResponse
impl Send for UpdateBookingResponse
impl Sync for UpdateBookingResponse
impl Unpin for UpdateBookingResponse
impl UnsafeUnpin for UpdateBookingResponse
impl UnwindSafe for UpdateBookingResponse
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