Struct google_content2::TestOrderCustomer
source · pub struct TestOrderCustomer {
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. Optional.
full_name: Option<String>Full name of the customer.
email: Option<String>Email address of the customer.
Trait Implementations§
source§impl Clone for TestOrderCustomer
impl Clone for TestOrderCustomer
source§fn clone(&self) -> TestOrderCustomer
fn clone(&self) -> TestOrderCustomer
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 TestOrderCustomer
impl Debug for TestOrderCustomer
source§impl Default for TestOrderCustomer
impl Default for TestOrderCustomer
source§fn default() -> TestOrderCustomer
fn default() -> TestOrderCustomer
Returns the “default value” for a type. Read more
source§impl Deserialize for TestOrderCustomer
impl Deserialize for TestOrderCustomer
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 TestOrderCustomer
impl Serialize for TestOrderCustomer
impl Part for TestOrderCustomer
Auto Trait Implementations§
impl Freeze for TestOrderCustomer
impl RefUnwindSafe for TestOrderCustomer
impl Send for TestOrderCustomer
impl Sync for TestOrderCustomer
impl Unpin for TestOrderCustomer
impl UnwindSafe for TestOrderCustomer
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