Struct gapi_grpc::google::ads::googleads::v6::resources::campaign::VanityPharma[][src]

pub struct VanityPharma {
    pub vanity_pharma_display_url_mode: i32,
    pub vanity_pharma_text: i32,
}

Describes how unbranded pharma ads will be displayed.

Fields

vanity_pharma_display_url_mode: i32

The display mode for vanity pharma URLs.

vanity_pharma_text: i32

The text that will be displayed in display URL of the text ad when website description is the selected display mode for vanity pharma URLs.

Implementations

impl VanityPharma[src]

pub fn vanity_pharma_display_url_mode(&self) -> VanityPharmaDisplayUrlMode[src]

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

pub fn set_vanity_pharma_display_url_mode(
    &mut self,
    value: VanityPharmaDisplayUrlMode
)
[src]

Sets vanity_pharma_display_url_mode to the provided enum value.

pub fn vanity_pharma_text(&self) -> VanityPharmaText[src]

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

pub fn set_vanity_pharma_text(&mut self, value: VanityPharmaText)[src]

Sets vanity_pharma_text to the provided enum value.

Trait Implementations

impl Clone for VanityPharma[src]

impl Debug for VanityPharma[src]

impl Default for VanityPharma[src]

impl Message for VanityPharma[src]

impl PartialEq<VanityPharma> for VanityPharma[src]

impl StructuralPartialEq for VanityPharma[src]

Auto Trait Implementations

impl RefUnwindSafe for VanityPharma

impl Send for VanityPharma

impl Sync for VanityPharma

impl Unpin for VanityPharma

impl UnwindSafe for VanityPharma

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]