Struct google_content2::OrderPromotion [−][src]
pub struct OrderPromotion { pub long_title: Option<String>, pub generic_redemption_code: Option<String>, pub benefits: Option<Vec<OrderPromotionBenefit>>, pub redemption_channel: Option<String>, pub product_applicability: Option<String>, pub effective_dates: Option<String>, pub id: Option<String>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
long_title: Option<String>
The full title of the promotion.
generic_redemption_code: Option<String>
Optional. The text code that corresponds to the promotion when applied on the retailer?s website.
benefits: Option<Vec<OrderPromotionBenefit>>
no description provided
redemption_channel: Option<String>
Indicates that the promotion is valid online.
product_applicability: Option<String>
Whether the promotion is applicable to all products or only specific products.
effective_dates: Option<String>
The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review. Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format.
id: Option<String>
The unique ID of the promotion.
Trait Implementations
impl Default for OrderPromotion
[src]
impl Default for OrderPromotion
fn default() -> OrderPromotion
[src]
fn default() -> OrderPromotion
Returns the "default value" for a type. Read more
impl Clone for OrderPromotion
[src]
impl Clone for OrderPromotion
fn clone(&self) -> OrderPromotion
[src]
fn clone(&self) -> OrderPromotion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for OrderPromotion
[src]
impl Debug for OrderPromotion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for OrderPromotion
[src]
impl Part for OrderPromotion
Auto Trait Implementations
impl Send for OrderPromotion
impl Send for OrderPromotion
impl Sync for OrderPromotion
impl Sync for OrderPromotion