[−][src]Struct google_qpxexpress1::TripOptionsRequest
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]
fn default() -> TripOptionsRequest
[src]
impl Clone for TripOptionsRequest
[src]
fn clone(&self) -> 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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for TripOptionsRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for TripOptionsRequest
impl Unpin for TripOptionsRequest
impl Sync for TripOptionsRequest
impl UnwindSafe for TripOptionsRequest
impl RefUnwindSafe for TripOptionsRequest
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,