[][src]Struct google_content2::OrderCustomerMarketingRightsInfo

pub struct OrderCustomerMarketingRightsInfo {
    pub explicit_marketing_preference: Option<String>,
    pub last_updated_timestamp: Option<String>,
    pub marketing_email_address: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

explicit_marketing_preference: Option<String>

Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected granted in their most recent order, they can be subscribed to marketing emails. Customers who have chosen denied must not be subscribed, or must be unsubscribed if already opted-in.

Acceptable values are:

  • "denied"
  • "granted"
last_updated_timestamp: Option<String>

Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.

marketing_email_address: Option<String>

Email address that can be used for marketing purposes. The field may be empty even if explicitMarketingPreference is 'granted'. This happens when retrieving an old order from the customer who deleted their account.

Trait Implementations

impl Clone for OrderCustomerMarketingRightsInfo[src]

impl Debug for OrderCustomerMarketingRightsInfo[src]

impl Default for OrderCustomerMarketingRightsInfo[src]

impl<'de> Deserialize<'de> for OrderCustomerMarketingRightsInfo[src]

impl Part for OrderCustomerMarketingRightsInfo[src]

impl Serialize for OrderCustomerMarketingRightsInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any