Struct google_displayvideo1::api::Pacing [−][src]
Settings that control the rate at which a budget is spent.
This type is not used in any activity, and only used as part of another schema.
Fields
daily_max_impressions: Option<String>
Maximum number of impressions to serve every day. Applicable when the budget is impression based. Must be greater than 0.
daily_max_micros: Option<String>
Maximum currency amount to spend every day in micros of advertiser’s currency. Applicable when the budget is currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field to 1500000. The value assigned will be rounded to whole billable units for the relevant currency by the following rules: any positive value less than a single billable unit will be rounded up to one billable unit and any value larger than a single billable unit will be rounded down to the nearest billable value. For example, if the currency’s billable unit is 0.01, and this field is set to 10257770, it will round down to 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01.
pacing_period: Option<String>
Required. The time period in which the pacing budget will be spent. When automatic budget allocation is enabled at the insertion order via auto_budget_allocation, this field is output only and defaults to PACING_PERIOD_FLIGHT
.
pacing_type: Option<String>
Required. The type of pacing that defines how the budget amount will be spent across the pacing_period.
Trait Implementations
impl Clone for Pacing
[src]
impl Debug for Pacing
[src]
impl Default for Pacing
[src]
impl<'de> Deserialize<'de> for Pacing
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Pacing
[src]
impl Serialize for Pacing
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pacing
impl Send for Pacing
impl Sync for Pacing
impl Unpin for Pacing
impl UnwindSafe for Pacing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,