Struct google_displayvideo1::api::RateDetails
source · pub struct RateDetails {
pub inventory_source_rate_type: Option<String>,
pub minimum_spend: Option<Money>,
pub rate: Option<Money>,
pub units_purchased: Option<i64>,
}
Expand description
The rate related settings of the inventory source.
This type is not used in any activity, and only used as part of another schema.
Fields§
§inventory_source_rate_type: Option<String>
The rate type. Acceptable values are INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED
, INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR
, and INVENTORY_SOURCE_RATE_TYPE_CPD
.
minimum_spend: Option<Money>
Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources.
rate: Option<Money>
The rate for the inventory source.
units_purchased: Option<i64>
Required for guaranteed inventory sources. The number of impressions guaranteed by the seller.
Trait Implementations§
source§impl Clone for RateDetails
impl Clone for RateDetails
source§fn clone(&self) -> RateDetails
fn clone(&self) -> RateDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RateDetails
impl Debug for RateDetails
source§impl Default for RateDetails
impl Default for RateDetails
source§fn default() -> RateDetails
fn default() -> RateDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RateDetails
impl<'de> Deserialize<'de> for RateDetails
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for RateDetails
impl Serialize for RateDetails
impl Part for RateDetails
Auto Trait Implementations§
impl RefUnwindSafe for RateDetails
impl Send for RateDetails
impl Sync for RateDetails
impl Unpin for RateDetails
impl UnwindSafe for RateDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more