Struct google_qpxexpress1::api::SegmentPricing
source · pub struct SegmentPricing {
pub fare_id: Option<String>,
pub free_baggage_option: Option<Vec<FreeBaggageAllowance>>,
pub kind: Option<String>,
pub segment_id: Option<String>,
}
Expand description
The price of this segment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fare_id: Option<String>
A segment identifier unique within a single solution. It is used to refer to different parts of the same solution.
free_baggage_option: Option<Vec<FreeBaggageAllowance>>
Details of the free baggage allowance on this segment.
kind: Option<String>
Identifies this as a segment pricing object, representing the price of this segment. Value: the fixed string qpxexpress#segmentPricing.
segment_id: Option<String>
Unique identifier in the response of this segment.
Trait Implementations§
source§impl Clone for SegmentPricing
impl Clone for SegmentPricing
source§fn clone(&self) -> SegmentPricing
fn clone(&self) -> SegmentPricing
Returns a copy 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 SegmentPricing
impl Debug for SegmentPricing
source§impl Default for SegmentPricing
impl Default for SegmentPricing
source§fn default() -> SegmentPricing
fn default() -> SegmentPricing
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SegmentPricing
impl<'de> Deserialize<'de> for SegmentPricing
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 SegmentPricing
impl Serialize for SegmentPricing
impl Part for SegmentPricing
Auto Trait Implementations§
impl RefUnwindSafe for SegmentPricing
impl Send for SegmentPricing
impl Sync for SegmentPricing
impl Unpin for SegmentPricing
impl UnwindSafe for SegmentPricing
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