Struct google_content2::api::OrderCustomer
source · pub struct OrderCustomer {
pub email: Option<String>,
pub explicit_marketing_preference: Option<bool>,
pub full_name: Option<String>,
pub invoice_receiving_email: Option<String>,
pub marketing_rights_info: Option<OrderCustomerMarketingRightsInfo>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§email: Option<String>
Deprecated.
explicit_marketing_preference: Option<bool>
Deprecated. Please use marketingRightsInfo instead.
full_name: Option<String>
Full name of the customer.
invoice_receiving_email: Option<String>
Email address for the merchant to send value-added tax or invoice documentation of the order. Only the last document sent is made available to the customer. For more information, see About automated VAT invoicing for Buy on Google.
marketing_rights_info: Option<OrderCustomerMarketingRightsInfo>
Customer’s marketing preferences. Contains the marketing opt-in information that is current at the time that the merchant call. User preference selections can change from one order to the next so preferences must be checked with every order.
Trait Implementations§
source§impl Clone for OrderCustomer
impl Clone for OrderCustomer
source§fn clone(&self) -> OrderCustomer
fn clone(&self) -> OrderCustomer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OrderCustomer
impl Debug for OrderCustomer
source§impl Default for OrderCustomer
impl Default for OrderCustomer
source§fn default() -> OrderCustomer
fn default() -> OrderCustomer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrderCustomer
impl<'de> Deserialize<'de> for OrderCustomer
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
source§impl Serialize for OrderCustomer
impl Serialize for OrderCustomer
impl Part for OrderCustomer
Auto Trait Implementations§
impl RefUnwindSafe for OrderCustomer
impl Send for OrderCustomer
impl Sync for OrderCustomer
impl Unpin for OrderCustomer
impl UnwindSafe for OrderCustomer
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