pub struct AvailablePlacePreferences {
pub preference_groups: Option<Vec<PlacePreferenceGroup>>,
pub graphical_reservation: Option<Option<String>>,
}Fields§
§preference_groups: Option<Vec<PlacePreferenceGroup>>possible preferences to be requested in reservation without changing the fare
graphical_reservation: Option<Option<String>>graphical reservation is supported, interface type ‘WITH_FEE’, ‘NO’, (https://osdm.io/spec/processes/#SeatSelectionFees)
Implementations§
Source§impl AvailablePlacePreferences
impl AvailablePlacePreferences
pub fn new() -> AvailablePlacePreferences
Trait Implementations§
Source§impl Clone for AvailablePlacePreferences
impl Clone for AvailablePlacePreferences
Source§fn clone(&self) -> AvailablePlacePreferences
fn clone(&self) -> AvailablePlacePreferences
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 AvailablePlacePreferences
impl Debug for AvailablePlacePreferences
Source§impl Default for AvailablePlacePreferences
impl Default for AvailablePlacePreferences
Source§fn default() -> AvailablePlacePreferences
fn default() -> AvailablePlacePreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailablePlacePreferences
impl<'de> Deserialize<'de> for AvailablePlacePreferences
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
impl StructuralPartialEq for AvailablePlacePreferences
Auto Trait Implementations§
impl Freeze for AvailablePlacePreferences
impl RefUnwindSafe for AvailablePlacePreferences
impl Send for AvailablePlacePreferences
impl Sync for AvailablePlacePreferences
impl Unpin for AvailablePlacePreferences
impl UnwindSafe for AvailablePlacePreferences
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