[][src]Struct google_displayvideo1::PartnerRevenueModel

pub struct PartnerRevenueModel {
    pub markup_amount: Option<String>,
    pub markup_type: Option<String>,
}

Settings that control how partner revenue is calculated.

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

Fields

markup_amount: Option<String>

Required. The markup amount of the partner revenue model. Must be greater than or equal to 0.

  • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM, this field represents the CPM markup in micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency.
  • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP, this field represents the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).
  • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP, this field represents the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).
markup_type: Option<String>

Required. The markup type of the partner revenue model.

Trait Implementations

impl Clone for PartnerRevenueModel[src]

impl Debug for PartnerRevenueModel[src]

impl Default for PartnerRevenueModel[src]

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

impl Part for PartnerRevenueModel[src]

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