Struct google_qpxexpress1::api::FreeBaggageAllowance
source · pub struct FreeBaggageAllowance {
pub bag_descriptor: Option<Vec<BagDescriptor>>,
pub kilos: Option<i32>,
pub kilos_per_piece: Option<i32>,
pub kind: Option<String>,
pub pieces: Option<i32>,
pub pounds: Option<i32>,
}
Expand description
Information about free baggage allowed on one segment of a trip.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bag_descriptor: Option<Vec<BagDescriptor>>
A representation of a type of bag, such as an ATPCo subcode, Commercial Name, or other description.
kilos: Option<i32>
The maximum number of kilos all the free baggage together may weigh.
kilos_per_piece: Option<i32>
The maximum number of kilos any one piece of baggage may weigh.
kind: Option<String>
Identifies this as free baggage object, allowed on one segment of a trip. Value: the fixed string qpxexpress#freeBaggageAllowance.
pieces: Option<i32>
The number of free pieces of baggage allowed.
pounds: Option<i32>
The number of pounds of free baggage allowed.
Trait Implementations§
source§impl Clone for FreeBaggageAllowance
impl Clone for FreeBaggageAllowance
source§fn clone(&self) -> FreeBaggageAllowance
fn clone(&self) -> FreeBaggageAllowance
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 FreeBaggageAllowance
impl Debug for FreeBaggageAllowance
source§impl Default for FreeBaggageAllowance
impl Default for FreeBaggageAllowance
source§fn default() -> FreeBaggageAllowance
fn default() -> FreeBaggageAllowance
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FreeBaggageAllowance
impl<'de> Deserialize<'de> for FreeBaggageAllowance
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 FreeBaggageAllowance
impl Serialize for FreeBaggageAllowance
impl Part for FreeBaggageAllowance
Auto Trait Implementations§
impl RefUnwindSafe for FreeBaggageAllowance
impl Send for FreeBaggageAllowance
impl Sync for FreeBaggageAllowance
impl Unpin for FreeBaggageAllowance
impl UnwindSafe for FreeBaggageAllowance
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