[][src]Struct google_adexchangebuyer2_v2_beta1::ServingRestriction

pub struct ServingRestriction {
    pub contexts: Option<Vec<ServingContext>>,
    pub status: Option<String>,
    pub disapproval_reasons: Option<Vec<Disapproval>>,
    pub disapproval: Option<Disapproval>,
}

Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).

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

Fields

contexts: Option<Vec<ServingContext>>

The contexts for the restriction.

status: Option<String>

The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).

disapproval_reasons: Option<Vec<Disapproval>>

Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.

disapproval: Option<Disapproval>

Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.

Trait Implementations

impl Part for ServingRestriction[src]

impl Default for ServingRestriction[src]

impl Clone for ServingRestriction[src]

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

Performs copy-assignment from source. Read more

impl Debug for ServingRestriction[src]

impl Serialize for ServingRestriction[src]

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

Auto Trait Implementations

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]