pub struct AvailabilityScope {
pub single_selection_maps_required: Option<bool>,
pub part_references: Vec<PartReference>,
}Expand description
AvailabilityScope : fare or offerParts which should be covered by the available seats
Fields§
§single_selection_maps_required: Option<bool>if true the place map must include places for a single reservation or fare only
part_references: Vec<PartReference>Implementations§
Source§impl AvailabilityScope
impl AvailabilityScope
Sourcepub fn new(part_references: Vec<PartReference>) -> AvailabilityScope
pub fn new(part_references: Vec<PartReference>) -> AvailabilityScope
fare or offerParts which should be covered by the available seats
Trait Implementations§
Source§impl Clone for AvailabilityScope
impl Clone for AvailabilityScope
Source§fn clone(&self) -> AvailabilityScope
fn clone(&self) -> AvailabilityScope
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 AvailabilityScope
impl Debug for AvailabilityScope
Source§impl Default for AvailabilityScope
impl Default for AvailabilityScope
Source§fn default() -> AvailabilityScope
fn default() -> AvailabilityScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailabilityScope
impl<'de> Deserialize<'de> for AvailabilityScope
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 AvailabilityScope
impl PartialEq for AvailabilityScope
Source§impl Serialize for AvailabilityScope
impl Serialize for AvailabilityScope
impl StructuralPartialEq for AvailabilityScope
Auto Trait Implementations§
impl Freeze for AvailabilityScope
impl RefUnwindSafe for AvailabilityScope
impl Send for AvailabilityScope
impl Sync for AvailabilityScope
impl Unpin for AvailabilityScope
impl UnwindSafe for AvailabilityScope
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