pub struct TripOption {
pub id: Option<String>,
pub kind: Option<String>,
pub pricing: Option<Vec<PricingInfo>>,
pub sale_total: Option<String>,
pub slice: Option<Vec<SliceInfo>>,
}Expand description
Trip information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>Identifier uniquely identifying this trip in a response.
kind: Option<String>Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption.
pricing: Option<Vec<PricingInfo>>Per passenger pricing information.
sale_total: Option<String>The total price for all passengers on the trip, in the form of a currency followed by an amount, e.g. USD253.35.
slice: Option<Vec<SliceInfo>>The slices that make up this trip’s itinerary.
Trait Implementations§
Source§impl Clone for TripOption
impl Clone for TripOption
Source§fn clone(&self) -> TripOption
fn clone(&self) -> TripOption
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 TripOption
impl Debug for TripOption
Source§impl Default for TripOption
impl Default for TripOption
Source§fn default() -> TripOption
fn default() -> TripOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TripOption
impl<'de> Deserialize<'de> for TripOption
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 TripOption
impl Serialize for TripOption
impl Part for TripOption
Auto Trait Implementations§
impl Freeze for TripOption
impl RefUnwindSafe for TripOption
impl Send for TripOption
impl Sync for TripOption
impl Unpin for TripOption
impl UnwindSafe for TripOption
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