pub struct TripsSearchResponse {
pub kind: Option<String>,
pub trips: Option<TripOptionsResponse>,
}Expand description
A QPX Express search response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search trips (response)
Fields§
§kind: Option<String>Identifies this as a QPX Express API search response resource. Value: the fixed string qpxExpress#tripsSearch.
trips: Option<TripOptionsResponse>All possible solutions to the QPX Express search request.
Trait Implementations§
Source§impl Clone for TripsSearchResponse
impl Clone for TripsSearchResponse
Source§fn clone(&self) -> TripsSearchResponse
fn clone(&self) -> TripsSearchResponse
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 TripsSearchResponse
impl Debug for TripsSearchResponse
Source§impl Default for TripsSearchResponse
impl Default for TripsSearchResponse
Source§fn default() -> TripsSearchResponse
fn default() -> TripsSearchResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TripsSearchResponse
impl<'de> Deserialize<'de> for TripsSearchResponse
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 TripsSearchResponse
impl Serialize for TripsSearchResponse
impl ResponseResult for TripsSearchResponse
Auto Trait Implementations§
impl Freeze for TripsSearchResponse
impl RefUnwindSafe for TripsSearchResponse
impl Send for TripsSearchResponse
impl Sync for TripsSearchResponse
impl Unpin for TripsSearchResponse
impl UnwindSafe for TripsSearchResponse
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