Struct google_content2::api::OrderCustomerMarketingRightsInfo [−][src]
pub struct OrderCustomerMarketingRightsInfo {
pub explicit_marketing_preference: Option<String>,
pub last_updated_timestamp: Option<String>,
pub marketing_email_address: Option<String>,
}Expand description
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
Returns the “default value” for a type. Read more
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 Send for OrderCustomerMarketingRightsInfo
impl Sync for OrderCustomerMarketingRightsInfo
impl Unpin for OrderCustomerMarketingRightsInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more