pub struct TripOptionsResponse {
pub data: Option<Data>,
pub kind: Option<String>,
pub request_id: Option<String>,
pub trip_option: Option<Vec<TripOption>>,
}Expand description
A QPX Express search response.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data: Option<Data>Informational data global to list of solutions.
kind: Option<String>Identifies this as a QPX Express trip response object, which consists of zero or more solutions. Value: the fixed string qpxexpress#tripOptions.
request_id: Option<String>An identifier uniquely identifying this response.
trip_option: Option<Vec<TripOption>>A list of priced itinerary solutions to the QPX Express query.
Trait Implementations§
Source§impl Clone for TripOptionsResponse
impl Clone for TripOptionsResponse
Source§fn clone(&self) -> TripOptionsResponse
fn clone(&self) -> TripOptionsResponse
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 TripOptionsResponse
impl Debug for TripOptionsResponse
Source§impl Default for TripOptionsResponse
impl Default for TripOptionsResponse
Source§fn default() -> TripOptionsResponse
fn default() -> TripOptionsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TripOptionsResponse
impl<'de> Deserialize<'de> for TripOptionsResponse
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 Serialize for TripOptionsResponse
impl Serialize for TripOptionsResponse
impl Part for TripOptionsResponse
Auto Trait Implementations§
impl Freeze for TripOptionsResponse
impl RefUnwindSafe for TripOptionsResponse
impl Send for TripOptionsResponse
impl Sync for TripOptionsResponse
impl Unpin for TripOptionsResponse
impl UnwindSafe for TripOptionsResponse
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