Struct google_content2::api::OrderLegacyPromotion [−][src]
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
benefits: Option<Vec<OrderLegacyPromotionBenefit>>no description provided
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.
generic_redemption_code: Option<String>Optional. The text code that corresponds to the promotion when applied on the retailer?s website.
id: Option<String>The unique ID of the promotion.
long_title: Option<String>The full title of the promotion.
product_applicability: Option<String>Whether the promotion is applicable to all products or only specific products. Acceptable values are: - “allProducts” - “specificProducts”
redemption_channel: Option<String>Indicates that the promotion is valid online. Acceptable values are: - “online”
Trait Implementations
impl Clone for OrderLegacyPromotion[src]
fn clone(&self) -> OrderLegacyPromotion[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for OrderLegacyPromotion[src]
impl Default for OrderLegacyPromotion[src]
fn default() -> OrderLegacyPromotion[src]
impl<'de> Deserialize<'de> for OrderLegacyPromotion[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for OrderLegacyPromotion[src]
impl Serialize for OrderLegacyPromotion[src]
Auto Trait Implementations
impl RefUnwindSafe for OrderLegacyPromotion
impl Send for OrderLegacyPromotion
impl Sync for OrderLegacyPromotion
impl Unpin for OrderLegacyPromotion
impl UnwindSafe for OrderLegacyPromotion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,