pub struct ExchangeOperationPatchRequest {
pub requested_fulfillment_type: Option<String>,
pub preferred_fulfillment_media: Option<String>,
pub embed: Option<Vec<ExchangeOperationResponseContent>>,
}Expand description
ExchangeOperationPatchRequest : Allows modifying a general setting for the booking: * setting the required fulfillment type, e.g. value paper or e-ticket and preferred fulfillment media. The latter is optional and relevant in some cases only. * Provisionally exchanging some of the fulfillments in the booking
Fields§
§requested_fulfillment_type: Option<String>Values from the Fulfillment Type Code List Listed values here are examples.
preferred_fulfillment_media: Option<String>Fulfillment types. RCT2, RCCST and UIC_PDF are official UIC standards. Notice:ALLOCATOR_APP is deprecated and should not be used anymore. The ALLOCATOR_APP type is replaced by the RETAILER_APP type. DISTRIBUTOR_APP was introduced to distinguish between the different types of apps that can be used to fulfill a booking. Values from the Fulfillment Media Type Code List Listed values here are examples.
embed: Option<Vec<ExchangeOperationResponseContent>>Influences whether referenced resources are returned in full or as references only.
Implementations§
Source§impl ExchangeOperationPatchRequest
impl ExchangeOperationPatchRequest
Sourcepub fn new() -> ExchangeOperationPatchRequest
pub fn new() -> ExchangeOperationPatchRequest
Allows modifying a general setting for the booking: * setting the required fulfillment type, e.g. value paper or e-ticket and preferred fulfillment media. The latter is optional and relevant in some cases only. * Provisionally exchanging some of the fulfillments in the booking
Trait Implementations§
Source§impl Clone for ExchangeOperationPatchRequest
impl Clone for ExchangeOperationPatchRequest
Source§fn clone(&self) -> ExchangeOperationPatchRequest
fn clone(&self) -> ExchangeOperationPatchRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ExchangeOperationPatchRequest
impl Default for ExchangeOperationPatchRequest
Source§fn default() -> ExchangeOperationPatchRequest
fn default() -> ExchangeOperationPatchRequest
Source§impl<'de> Deserialize<'de> for ExchangeOperationPatchRequest
impl<'de> Deserialize<'de> for ExchangeOperationPatchRequest
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>,
Source§impl PartialEq for ExchangeOperationPatchRequest
impl PartialEq for ExchangeOperationPatchRequest
Source§fn eq(&self, other: &ExchangeOperationPatchRequest) -> bool
fn eq(&self, other: &ExchangeOperationPatchRequest) -> bool
self and other values to be equal, and is used by ==.