pub struct FulfillmentPart {
pub fulfillment_media: Option<Vec<String>>,
pub passenger_ref: Option<Option<String>>,
pub control_id: Option<Option<String>>,
pub security_features: Option<Vec<FulfillmentItemSecurityFeature>>,
pub security_feature_links: Option<Vec<FulfillmentItemSecurityFeatureLinks>>,
pub fulfillment_information_texts: Option<Vec<TextElement>>,
pub is_mandatory: Option<Option<bool>>,
pub secure_paper_only: Option<Option<bool>>,
}Expand description
FulfillmentPart : Fulfillment items to be integrated in to tickets, e.g. visual security elements, additional bar codes, control keys.
Fields§
§fulfillment_media: Option<Vec<String>>list of fulfillment media where this item applies
passenger_ref: Option<Option<String>>reference to a passenger
control_id: Option<Option<String>>§security_features: Option<Vec<FulfillmentItemSecurityFeature>>‘visual elements, bar codes’
security_feature_links: Option<Vec<FulfillmentItemSecurityFeatureLinks>>§fulfillment_information_texts: Option<Vec<TextElement>>§is_mandatory: Option<Option<bool>>The use of the provided features is mandatory.
secure_paper_only: Option<Option<bool>>The security feature must be used on secure paper.
Implementations§
Source§impl FulfillmentPart
impl FulfillmentPart
Sourcepub fn new() -> FulfillmentPart
pub fn new() -> FulfillmentPart
Fulfillment items to be integrated in to tickets, e.g. visual security elements, additional bar codes, control keys.
Trait Implementations§
Source§impl Clone for FulfillmentPart
impl Clone for FulfillmentPart
Source§fn clone(&self) -> FulfillmentPart
fn clone(&self) -> FulfillmentPart
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 FulfillmentPart
impl Debug for FulfillmentPart
Source§impl Default for FulfillmentPart
impl Default for FulfillmentPart
Source§fn default() -> FulfillmentPart
fn default() -> FulfillmentPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FulfillmentPart
impl<'de> Deserialize<'de> for FulfillmentPart
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 FulfillmentPart
impl PartialEq for FulfillmentPart
Source§impl Serialize for FulfillmentPart
impl Serialize for FulfillmentPart
impl StructuralPartialEq for FulfillmentPart
Auto Trait Implementations§
impl Freeze for FulfillmentPart
impl RefUnwindSafe for FulfillmentPart
impl Send for FulfillmentPart
impl Sync for FulfillmentPart
impl Unpin for FulfillmentPart
impl UnsafeUnpin for FulfillmentPart
impl UnwindSafe for FulfillmentPart
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