pub struct DealTerms {Show 16 fields
pub validity_period: Option<ValidityPeriod>,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
pub territory_code: Vec<String>,
pub excluded_territory_code: Vec<String>,
pub distribution_channel: Vec<DistributionChannel>,
pub excluded_distribution_channel: Vec<DistributionChannel>,
pub commercial_model_type: Vec<CommercialModelType>,
pub use_type: Vec<UseType>,
pub price_information: Vec<PriceInformation>,
pub wholesale_price: Vec<Price>,
pub suggested_retail_price: Vec<Price>,
pub pre_order_date: Option<DateTime<Utc>>,
pub pre_order_preview_date: Option<DateTime<Utc>>,
pub instant_gratification_date: Option<DateTime<Utc>>,
pub takedown_date: Option<DateTime<Utc>>,
}
Fields§
§validity_period: Option<ValidityPeriod>
§start_date: Option<DateTime<Utc>>
§end_date: Option<DateTime<Utc>>
§territory_code: Vec<String>
§excluded_territory_code: Vec<String>
§distribution_channel: Vec<DistributionChannel>
§excluded_distribution_channel: Vec<DistributionChannel>
§commercial_model_type: Vec<CommercialModelType>
§use_type: Vec<UseType>
§price_information: Vec<PriceInformation>
§wholesale_price: Vec<Price>
§suggested_retail_price: Vec<Price>
§pre_order_date: Option<DateTime<Utc>>
§pre_order_preview_date: Option<DateTime<Utc>>
§instant_gratification_date: Option<DateTime<Utc>>
§takedown_date: Option<DateTime<Utc>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DealTerms
impl<'de> Deserialize<'de> for DealTerms
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
Auto Trait Implementations§
impl Freeze for DealTerms
impl RefUnwindSafe for DealTerms
impl Send for DealTerms
impl Sync for DealTerms
impl Unpin for DealTerms
impl UnwindSafe for DealTerms
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