[][src]Struct google_adexchangebuyer1d4::CreativeServingRestrictionsContexts

pub struct CreativeServingRestrictionsContexts {
    pub platform: Option<Vec<String>>,
    pub context_type: Option<String>,
    pub auction_type: Option<Vec<String>>,
    pub geo_criteria_id: Option<Vec<i32>>,
}

All known contexts/restrictions.

This type is not used in any activity, and only used as part of another schema.

Fields

platform: Option<Vec<String>>

Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.

context_type: Option<String>

The type of context (e.g., location, platform, auction type, SSL-ness).

auction_type: Option<Vec<String>>

Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.

geo_criteria_id: Option<Vec<i32>>

Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.

Trait Implementations

impl Clone for CreativeServingRestrictionsContexts[src]

impl Debug for CreativeServingRestrictionsContexts[src]

impl Default for CreativeServingRestrictionsContexts[src]

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

impl NestedType for CreativeServingRestrictionsContexts[src]

impl Part for CreativeServingRestrictionsContexts[src]

impl Serialize for CreativeServingRestrictionsContexts[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any