Struct google_qpxexpress1::TripOptionsRequest [] [src]

pub struct TripOptionsRequest {
    pub passengers: Option<PassengerCounts>,
    pub ticketing_country: Option<i64>,
    pub slice: Option<Vec<SliceInput>>,
    pub solutions: Option<i32>,
    pub refundable: Option<bool>,
    pub sale_country: Option<i64>,
    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

Counts for each passenger type in the request.

IATA country code representing the point of ticketing.

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.

The number of solutions to return, maximum 500.

Return only solutions with refundable fares.

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

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 Debug for TripOptionsRequest
[src]

Formats the value using the given formatter.

impl Clone for TripOptionsRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TripOptionsRequest
[src]

Returns the "default value" for a type. Read more

impl Part for TripOptionsRequest
[src]