Struct google_dfareporting2d8::api::FrequencyCap
source · pub struct FrequencyCap {
pub duration: Option<i64>,
pub impressions: Option<i64>,
}
Expand description
Frequency Cap.
This type is not used in any activity, and only used as part of another schema.
Fields§
§duration: Option<i64>
Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.
impressions: Option<i64>
Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.
Trait Implementations§
source§impl Clone for FrequencyCap
impl Clone for FrequencyCap
source§fn clone(&self) -> FrequencyCap
fn clone(&self) -> FrequencyCap
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 FrequencyCap
impl Debug for FrequencyCap
source§impl Default for FrequencyCap
impl Default for FrequencyCap
source§fn default() -> FrequencyCap
fn default() -> FrequencyCap
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FrequencyCap
impl<'de> Deserialize<'de> for FrequencyCap
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 FrequencyCap
impl Serialize for FrequencyCap
impl Part for FrequencyCap
Auto Trait Implementations§
impl RefUnwindSafe for FrequencyCap
impl Send for FrequencyCap
impl Sync for FrequencyCap
impl Unpin for FrequencyCap
impl UnwindSafe for FrequencyCap
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