[][src]Struct google_adexchangebuyer1d4::PricePerBuyer

pub struct PricePerBuyer {
    pub auction_tier: Option<String>,
    pub buyer: Option<Buyer>,
    pub billed_buyer: Option<Buyer>,
    pub price: Option<Price>,
}

Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.

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

Fields

auction_tier: Option<String>

Optional access type for this buyer.

buyer: Option<Buyer>

The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).

billed_buyer: Option<Buyer>

Reference to the buyer that will get billed.

price: Option<Price>

The specified price

Trait Implementations

impl Clone for PricePerBuyer[src]

impl Debug for PricePerBuyer[src]

impl Default for PricePerBuyer[src]

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

impl Part for PricePerBuyer[src]

impl Serialize for PricePerBuyer[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