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
sourceimpl 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
sourceimpl Clone for UpdateReservationRecord
impl Clone for UpdateReservationRecord
sourcefn clone(&self) -> UpdateReservationRecord
fn clone(&self) -> UpdateReservationRecord
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 UpdateReservationRecord
impl Debug for UpdateReservationRecord
sourceimpl Default for UpdateReservationRecord
impl Default for UpdateReservationRecord
sourcefn default() -> UpdateReservationRecord
fn default() -> UpdateReservationRecord
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateReservationRecord
impl<'de> Deserialize<'de> for UpdateReservationRecord
sourcefn 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
sourceimpl PartialEq<UpdateReservationRecord> for UpdateReservationRecord
impl PartialEq<UpdateReservationRecord> for UpdateReservationRecord
sourcefn eq(&self, other: &UpdateReservationRecord) -> bool
fn eq(&self, other: &UpdateReservationRecord) -> bool
sourceimpl Serialize for UpdateReservationRecord
impl Serialize for UpdateReservationRecord
impl StructuralPartialEq for UpdateReservationRecord
Auto Trait Implementations
impl RefUnwindSafe for UpdateReservationRecord
impl Send for UpdateReservationRecord
impl Sync for UpdateReservationRecord
impl Unpin for UpdateReservationRecord
impl UnwindSafe for UpdateReservationRecord
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