Enum openrtb2::MaxExtendedAdDuration
source · pub enum MaxExtendedAdDuration {
NoLimit,
NotAllowed,
Specific(i32),
}
Expand description
3.2.7 Video#maxextended
, 3.2.8 Audio#maxextended
Maximum extended ad duration if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
Variants§
Trait Implementations§
source§impl Clone for MaxExtendedAdDuration
impl Clone for MaxExtendedAdDuration
source§fn clone(&self) -> MaxExtendedAdDuration
fn clone(&self) -> MaxExtendedAdDuration
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 MaxExtendedAdDuration
impl Debug for MaxExtendedAdDuration
source§impl Default for MaxExtendedAdDuration
impl Default for MaxExtendedAdDuration
source§impl<'de> Deserialize<'de> for MaxExtendedAdDuration
impl<'de> Deserialize<'de> for MaxExtendedAdDuration
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