pub struct UpdateReservationRecord {
pub reservation: Option<Box<Reservation>>,
pub warnings: Option<Vec<Warning>>,
pub errors: Option<Vec<Error>>,
}Expand description
UpdateReservationRecord : UpdateReservationRecord entity contains the Reservation if there is an error/warning while performing the requested operation on it, otherwise it will contain the new reservationId.
Fields§
§reservation: Option<Box<Reservation>>§warnings: Option<Vec<Warning>>A list of warnings returned in the sucessful execution response of an API request.
errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl UpdateReservationRecord
impl UpdateReservationRecord
Sourcepub fn new() -> UpdateReservationRecord
pub fn new() -> UpdateReservationRecord
UpdateReservationRecord entity contains the Reservation if there is an error/warning while performing the requested operation on it, otherwise it will contain the new reservationId.
Trait Implementations§
Source§impl Clone for UpdateReservationRecord
impl Clone for UpdateReservationRecord
Source§fn clone(&self) -> UpdateReservationRecord
fn clone(&self) -> UpdateReservationRecord
Returns a duplicate 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 UpdateReservationRecord
impl Debug for UpdateReservationRecord
Source§impl Default for UpdateReservationRecord
impl Default for UpdateReservationRecord
Source§fn default() -> UpdateReservationRecord
fn default() -> UpdateReservationRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateReservationRecord
impl<'de> Deserialize<'de> for UpdateReservationRecord
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 UpdateReservationRecord
impl PartialEq for UpdateReservationRecord
Source§impl Serialize for UpdateReservationRecord
impl Serialize for UpdateReservationRecord
impl StructuralPartialEq for UpdateReservationRecord
Auto Trait Implementations§
impl Freeze for UpdateReservationRecord
impl RefUnwindSafe for UpdateReservationRecord
impl Send for UpdateReservationRecord
impl Sync for UpdateReservationRecord
impl Unpin for UpdateReservationRecord
impl UnsafeUnpin for UpdateReservationRecord
impl UnwindSafe for UpdateReservationRecord
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