[][src]Struct google_qpxexpress1::TripOptionsRequest

pub struct TripOptionsRequest {
    pub passengers: Option<PassengerCounts>,
    pub ticketing_country: Option<String>,
    pub slice: Option<Vec<SliceInput>>,
    pub solutions: Option<i32>,
    pub refundable: Option<bool>,
    pub sale_country: Option<String>,
    pub max_price: Option<String>,
}

A QPX Express search request, which will yield one or more solutions.

This type is not used in any activity, and only used as part of another schema.

Fields

passengers: Option<PassengerCounts>

Counts for each passenger type in the request.

ticketing_country: Option<String>

IATA country code representing the point of ticketing.

slice: Option<Vec<SliceInput>>

The slices that make up the itinerary of this trip. A slice represents a traveler's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using one slice, round-trips using two. An example of a one slice trip with three segments might be BOS-SYD, SYD-LAX, LAX-BOS if the traveler only stopped in SYD and LAX just long enough to change planes.

solutions: Option<i32>

The number of solutions to return, maximum 500.

refundable: Option<bool>

Return only solutions with refundable fares.

sale_country: Option<String>

IATA country code representing the point of sale. This determines the "equivalent amount paid" currency for the ticket.

max_price: Option<String>

Do not return solutions that cost more than this price. The alphabetical part of the price is in ISO 4217. The format, in regex, is [A-Z]{3}\d+(.\d+)? Example: $102.07

Trait Implementations

impl Part for TripOptionsRequest[src]

impl Default for TripOptionsRequest[src]

impl Clone for TripOptionsRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TripOptionsRequest[src]

impl Serialize for TripOptionsRequest[src]

impl<'de> Deserialize<'de> for TripOptionsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]