Struct google_adexchangebuyer1d4::PricePerBuyer [−][src]
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 Default for PricePerBuyer
[src]
impl Default for PricePerBuyer
fn default() -> PricePerBuyer
[src]
fn default() -> PricePerBuyer
Returns the "default value" for a type. Read more
impl Clone for PricePerBuyer
[src]
impl Clone for PricePerBuyer
fn clone(&self) -> PricePerBuyer
[src]
fn clone(&self) -> PricePerBuyer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PricePerBuyer
[src]
impl Debug for PricePerBuyer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PricePerBuyer
[src]
impl Part for PricePerBuyer
Auto Trait Implementations
impl Send for PricePerBuyer
impl Send for PricePerBuyer
impl Sync for PricePerBuyer
impl Sync for PricePerBuyer