Struct gapi_grpc::google::ads::googleads::v5::resources::UserInterest[][src]

pub struct UserInterest {
    pub resource_name: String,
    pub taxonomy_type: i32,
    pub user_interest_id: Option<i64>,
    pub name: Option<String>,
    pub user_interest_parent: Option<String>,
    pub launched_to_all: Option<bool>,
    pub availabilities: Vec<CriterionCategoryAvailability>,
}

A user interest: a particular interest-based vertical to be targeted.

Fields

resource_name: String

Output only. The resource name of the user interest. User interest resource names have the form:

customers/{customer_id}/userInterests/{user_interest_id}

taxonomy_type: i32

Output only. Taxonomy type of the user interest.

user_interest_id: Option<i64>

Output only. The ID of the user interest.

name: Option<String>

Output only. The name of the user interest.

user_interest_parent: Option<String>

Output only. The parent of the user interest.

launched_to_all: Option<bool>

Output only. True if the user interest is launched to all channels and locales.

availabilities: Vec<CriterionCategoryAvailability>

Output only. Availability information of the user interest.

Implementations

impl UserInterest[src]

pub fn taxonomy_type(&self) -> UserInterestTaxonomyType[src]

Returns the enum value of taxonomy_type, or the default if the field is set to an invalid enum value.

pub fn set_taxonomy_type(&mut self, value: UserInterestTaxonomyType)[src]

Sets taxonomy_type to the provided enum value.

Trait Implementations

impl Clone for UserInterest[src]

impl Debug for UserInterest[src]

impl Default for UserInterest[src]

impl Message for UserInterest[src]

impl PartialEq<UserInterest> for UserInterest[src]

impl StructuralPartialEq for UserInterest[src]

Auto Trait Implementations

impl RefUnwindSafe for UserInterest

impl Send for UserInterest

impl Sync for UserInterest

impl Unpin for UserInterest

impl UnwindSafe for UserInterest

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]