pub struct ProductRequestOfferSelection {
pub product_code: Option<String>,
pub product_tag: Option<String>,
pub number_of_items: Option<Option<i32>>,
pub external_passenger_refs: Option<Vec<String>>,
}Expand description
ProductRequestOfferSelection : product selection by product code or product tag for an offer request (exactly one of productCode and productTag must be provided). The number of items indicates the quantity to be required. Passengers must be referenced in case the product is intended for passengers.
Fields§
§product_code: Option<String>§product_tag: Option<String>§number_of_items: Option<Option<i32>>§external_passenger_refs: Option<Vec<String>>Implementations§
Source§impl ProductRequestOfferSelection
impl ProductRequestOfferSelection
Sourcepub fn new() -> ProductRequestOfferSelection
pub fn new() -> ProductRequestOfferSelection
product selection by product code or product tag for an offer request (exactly one of productCode and productTag must be provided). The number of items indicates the quantity to be required. Passengers must be referenced in case the product is intended for passengers.
Trait Implementations§
Source§impl Clone for ProductRequestOfferSelection
impl Clone for ProductRequestOfferSelection
Source§fn clone(&self) -> ProductRequestOfferSelection
fn clone(&self) -> ProductRequestOfferSelection
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 ProductRequestOfferSelection
impl Debug for ProductRequestOfferSelection
Source§impl Default for ProductRequestOfferSelection
impl Default for ProductRequestOfferSelection
Source§fn default() -> ProductRequestOfferSelection
fn default() -> ProductRequestOfferSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductRequestOfferSelection
impl<'de> Deserialize<'de> for ProductRequestOfferSelection
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 PartialEq for ProductRequestOfferSelection
impl PartialEq for ProductRequestOfferSelection
Source§fn eq(&self, other: &ProductRequestOfferSelection) -> bool
fn eq(&self, other: &ProductRequestOfferSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductRequestOfferSelection
Auto Trait Implementations§
impl Freeze for ProductRequestOfferSelection
impl RefUnwindSafe for ProductRequestOfferSelection
impl Send for ProductRequestOfferSelection
impl Sync for ProductRequestOfferSelection
impl Unpin for ProductRequestOfferSelection
impl UnwindSafe for ProductRequestOfferSelection
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