pub struct PlaceRestriction {
pub reservation_ref: Box<ReservationReference>,
pub service_class: Option<String>,
pub accommodation_sub_types: Option<Vec<String>>,
}Expand description
PlaceRestriction : Reservation based place selection criteria. Each requested place selection criterion will only be considered if it is covered by the referenced reservation fare/offerPart/bookingPart. E.g. place selection criterion serviceClass=HIGH will only be considered if reservationRef references a first/high class offer.
Fields§
§reservation_ref: Box<ReservationReference>§service_class: Option<String>Type of quality level, finer grained than the comfort class. Values from the Service Class Code List Listed values here are examples.
accommodation_sub_types: Option<Vec<String>>Specifies the accommodation sub types for which place availabilities shall be returned.
Implementations§
Source§impl PlaceRestriction
impl PlaceRestriction
Sourcepub fn new(reservation_ref: ReservationReference) -> PlaceRestriction
pub fn new(reservation_ref: ReservationReference) -> PlaceRestriction
Reservation based place selection criteria. Each requested place selection criterion will only be considered if it is covered by the referenced reservation fare/offerPart/bookingPart. E.g. place selection criterion serviceClass=HIGH will only be considered if reservationRef references a first/high class offer.
Trait Implementations§
Source§impl Clone for PlaceRestriction
impl Clone for PlaceRestriction
Source§fn clone(&self) -> PlaceRestriction
fn clone(&self) -> PlaceRestriction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more