pub struct FulfillmentUsage {
pub from_place_required: Option<Option<bool>>,
pub travel_dates: Option<Option<Vec<String>>>,
pub travel_validity_ranges: Option<Vec<TravelValidityRange>>,
pub max_available_zones: Option<Option<i32>>,
pub available_zones: Option<Vec<ZoneDefinition>>,
}Expand description
FulfillmentUsage : In case of multi-journey products describe parameters to be used to change the a fulfillment in status AVAILABLE to FULFILLED so it can be used by the passenger.
Fields§
§from_place_required: Option<Option<bool>>§travel_dates: Option<Option<Vec<String>>>Travel dates that can be selected. Note: date only is used to cover properly the case of passes including multiple time zones.
travel_validity_ranges: Option<Vec<TravelValidityRange>>§max_available_zones: Option<Option<i32>>upper limit to the number of selected zones
available_zones: Option<Vec<ZoneDefinition>>Implementations§
Source§impl FulfillmentUsage
impl FulfillmentUsage
Sourcepub fn new() -> FulfillmentUsage
pub fn new() -> FulfillmentUsage
In case of multi-journey products describe parameters to be used to change the a fulfillment in status AVAILABLE to FULFILLED so it can be used by the passenger.
Trait Implementations§
Source§impl Clone for FulfillmentUsage
impl Clone for FulfillmentUsage
Source§fn clone(&self) -> FulfillmentUsage
fn clone(&self) -> FulfillmentUsage
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 FulfillmentUsage
impl Debug for FulfillmentUsage
Source§impl Default for FulfillmentUsage
impl Default for FulfillmentUsage
Source§fn default() -> FulfillmentUsage
fn default() -> FulfillmentUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FulfillmentUsage
impl<'de> Deserialize<'de> for FulfillmentUsage
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 FulfillmentUsage
impl PartialEq for FulfillmentUsage
Source§impl Serialize for FulfillmentUsage
impl Serialize for FulfillmentUsage
impl StructuralPartialEq for FulfillmentUsage
Auto Trait Implementations§
impl Freeze for FulfillmentUsage
impl RefUnwindSafe for FulfillmentUsage
impl Send for FulfillmentUsage
impl Sync for FulfillmentUsage
impl Unpin for FulfillmentUsage
impl UnsafeUnpin for FulfillmentUsage
impl UnwindSafe for FulfillmentUsage
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