Struct google_content2::OrderCustomer
source · pub struct OrderCustomer {
pub explicit_marketing_preference: Option<bool>,
pub full_name: Option<String>,
pub email: 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<bool>If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow.
full_name: Option<String>Full name of the customer.
email: Option<String>Email address of the customer.
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 Deserialize for OrderCustomer
impl Deserialize for OrderCustomer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
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 Freeze for OrderCustomer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more