Struct gapi_grpc::google::ads::googleads::v6::services::Preferences[][src]

pub struct Preferences {
    pub is_skippable: bool,
    pub starts_with_sound: bool,
    pub ad_length: i32,
    pub top_content_only: bool,
    pub has_guaranteed_price: bool,
}

Set of preferences about the planned mix.

Fields

is_skippable: bool

True if ad skippable. If not set, default is any value.

starts_with_sound: bool

True if ad start with sound. If not set, default is any value.

ad_length: i32

The length of the ad. If not set, default is any value.

top_content_only: bool

True if ad will only show on the top content. If not set, default is false.

has_guaranteed_price: bool

True if the price guaranteed. The cost of serving the ad is agreed upfront and not subject to an auction. If not set, default is any value.

Implementations

impl Preferences[src]

pub fn ad_length(&self) -> ReachPlanAdLength[src]

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

pub fn set_ad_length(&mut self, value: ReachPlanAdLength)[src]

Sets ad_length to the provided enum value.

Trait Implementations

impl Clone for Preferences[src]

impl Debug for Preferences[src]

impl Default for Preferences[src]

impl Message for Preferences[src]

impl PartialEq<Preferences> for Preferences[src]

impl StructuralPartialEq for Preferences[src]

Auto Trait Implementations

impl RefUnwindSafe for Preferences

impl Send for Preferences

impl Sync for Preferences

impl Unpin for Preferences

impl UnwindSafe for Preferences

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]