Struct google_partners2::OptIns
source · pub struct OptIns {
pub special_offers: Option<bool>,
pub market_comm: Option<bool>,
pub phone_contact: Option<bool>,
pub physical_mail: Option<bool>,
pub performance_suggestions: Option<bool>,
}
Expand description
A set of opt-ins for a user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§special_offers: Option<bool>
An opt-in about receiving email regarding new features and products.
market_comm: Option<bool>
An opt-in about receiving email from Partners marketing teams. Includes member-only events and special promotional offers for Google products.
phone_contact: Option<bool>
An opt-in to allow recieivng phone calls about their Partners account.
physical_mail: Option<bool>
An opt-in to receive special promotional gifts and material in the mail.
performance_suggestions: Option<bool>
An opt-in about receiving email with customized AdWords campaign management tips.
Trait Implementations§
source§impl Deserialize for OptIns
impl Deserialize for OptIns
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
impl Part for OptIns
Auto Trait Implementations§
impl Freeze for OptIns
impl RefUnwindSafe for OptIns
impl Send for OptIns
impl Sync for OptIns
impl Unpin for OptIns
impl UnwindSafe for OptIns
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