pub struct PlaceSelection {
pub reservation_id: String,
pub reference_place: Option<Box<SelectedReferencePlace>>,
pub accommodations: Option<Vec<SelectedAccommodation>>,
pub places: Option<Vec<SelectedPlace>>,
pub trip_leg_coverage: Box<TripLegCoverage>,
}Expand description
PlaceSelection : Place selection options and selected options in an offer - reference place for adjacent reservation - selected optional place properties - selected places from a graphical place selection tripLegCoverage is deprecated and can be retrieved by the reservationId
Fields§
§reservation_id: String§reference_place: Option<Box<SelectedReferencePlace>>§accommodations: Option<Vec<SelectedAccommodation>>§places: Option<Vec<SelectedPlace>>§trip_leg_coverage: Box<TripLegCoverage>Implementations§
Source§impl PlaceSelection
impl PlaceSelection
Sourcepub fn new(
reservation_id: String,
trip_leg_coverage: TripLegCoverage,
) -> PlaceSelection
pub fn new( reservation_id: String, trip_leg_coverage: TripLegCoverage, ) -> PlaceSelection
Place selection options and selected options in an offer - reference place for adjacent reservation - selected optional place properties - selected places from a graphical place selection tripLegCoverage is deprecated and can be retrieved by the reservationId
Trait Implementations§
Source§impl Clone for PlaceSelection
impl Clone for PlaceSelection
Source§fn clone(&self) -> PlaceSelection
fn clone(&self) -> PlaceSelection
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 PlaceSelection
impl Debug for PlaceSelection
Source§impl Default for PlaceSelection
impl Default for PlaceSelection
Source§fn default() -> PlaceSelection
fn default() -> PlaceSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlaceSelection
impl<'de> Deserialize<'de> for PlaceSelection
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 PlaceSelection
impl PartialEq for PlaceSelection
Source§impl Serialize for PlaceSelection
impl Serialize for PlaceSelection
impl StructuralPartialEq for PlaceSelection
Auto Trait Implementations§
impl Freeze for PlaceSelection
impl RefUnwindSafe for PlaceSelection
impl Send for PlaceSelection
impl Sync for PlaceSelection
impl Unpin for PlaceSelection
impl UnwindSafe for PlaceSelection
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