Struct google_dfareporting2d8::api::SiteContact
source · pub struct SiteContact {
pub address: Option<String>,
pub contact_type: Option<String>,
pub email: Option<String>,
pub first_name: Option<String>,
pub id: Option<i64>,
pub last_name: Option<String>,
pub phone: Option<String>,
pub title: Option<String>,
}
Expand description
Site Contact
This type is not used in any activity, and only used as part of another schema.
Fields§
§address: Option<String>
Address of this site contact.
contact_type: Option<String>
Site contact type.
email: Option<String>
Email address of this site contact. This is a required field.
first_name: Option<String>
First name of this site contact.
id: Option<i64>
ID of this site contact. This is a read-only, auto-generated field.
last_name: Option<String>
Last name of this site contact.
phone: Option<String>
Primary phone number of this site contact.
title: Option<String>
Title or designation of this site contact.
Trait Implementations§
source§impl Clone for SiteContact
impl Clone for SiteContact
source§fn clone(&self) -> SiteContact
fn clone(&self) -> SiteContact
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 SiteContact
impl Debug for SiteContact
source§impl Default for SiteContact
impl Default for SiteContact
source§fn default() -> SiteContact
fn default() -> SiteContact
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SiteContact
impl<'de> Deserialize<'de> for SiteContact
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 SiteContact
impl Serialize for SiteContact
impl Part for SiteContact
Auto Trait Implementations§
impl Freeze for SiteContact
impl RefUnwindSafe for SiteContact
impl Send for SiteContact
impl Sync for SiteContact
impl Unpin for SiteContact
impl UnwindSafe for SiteContact
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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