[][src]Struct google_partners2::Lead

pub struct Lead {
    pub marketing_opt_in: Option<bool>,
    pub language_code: Option<String>,
    pub gps_motivations: Option<Vec<String>>,
    pub id: Option<String>,
    pub family_name: Option<String>,
    pub min_monthly_budget: Option<Money>,
    pub comments: Option<String>,
    pub email: Option<String>,
    pub website_url: Option<String>,
    pub state: Option<String>,
    pub phone_number: Option<String>,
    pub adwords_customer_id: Option<String>,
    pub given_name: Option<String>,
    pub type_: Option<String>,
    pub create_time: Option<String>,
}

A lead resource that represents an advertiser contact for a Company. These are usually generated via Google Partner Search (the advertiser portal).

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

marketing_opt_in: Option<bool>

Whether or not the lead signed up for marketing emails

language_code: Option<String>

Language code of the lead's language preference, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").

gps_motivations: Option<Vec<String>>

List of reasons for using Google Partner Search and creating a lead.

id: Option<String>

ID of the lead.

family_name: Option<String>

Last name of lead source.

min_monthly_budget: Option<Money>

The minimum monthly budget lead source is willing to spend.

comments: Option<String>

Comments lead source gave.

email: Option<String>

Email address of lead source.

website_url: Option<String>

Website URL of lead source.

state: Option<String>

The lead's state in relation to the company.

phone_number: Option<String>

Phone number of lead source.

adwords_customer_id: Option<String>

The AdWords Customer ID of the lead.

given_name: Option<String>

First name of lead source.

type_: Option<String>

Type of lead.

create_time: Option<String>

Timestamp of when this lead was created.

Trait Implementations

impl Resource for Lead[src]

impl ResponseResult for Lead[src]

impl RequestValue for Lead[src]

impl Default for Lead[src]

impl Clone for Lead[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Lead[src]

impl Serialize for Lead[src]

impl<'de> Deserialize<'de> for Lead[src]

Auto Trait Implementations

impl Send for Lead

impl Unpin for Lead

impl Sync for Lead

impl UnwindSafe for Lead

impl RefUnwindSafe for Lead

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]