Enum openrtb2::PlaybackMethod
source · #[repr(i32)]
pub enum PlaybackMethod {
AutoPlaySoundOn,
AutoPlaySoundOff,
ClickToPlay,
MouseOver,
EnterSoundOn,
EnterSoundOff,
}
Expand description
5.10 Playback Methods
The following table lists the various playback methods.
Variants§
AutoPlaySoundOn
Initiates on Page Load with Sound On
AutoPlaySoundOff
Initiates on Page Load with Sound Off by Default
ClickToPlay
Initiates on Click with Sound On
MouseOver
Initiates on Mouse-Over with Sound On
EnterSoundOn
Initiates on Entering Viewport with Sound On
EnterSoundOff
Initiates on Entering Viewport with Sound Off by Default
Trait Implementations§
source§impl Clone for PlaybackMethod
impl Clone for PlaybackMethod
source§fn clone(&self) -> PlaybackMethod
fn clone(&self) -> PlaybackMethod
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 PlaybackMethod
impl Debug for PlaybackMethod
source§impl<'de> Deserialize<'de> for PlaybackMethod
impl<'de> Deserialize<'de> for PlaybackMethod
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