Struct rusoto_mediatailor::LivePreRollConfiguration [−][src]
pub struct LivePreRollConfiguration { pub ad_decision_server_url: Option<String>, pub max_duration_seconds: Option<i64>, }
Expand description
The configuration for pre-roll ad insertion.
Fields
ad_decision_server_url: Option<String>
The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
max_duration_seconds: Option<i64>
The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LivePreRollConfiguration
impl Send for LivePreRollConfiguration
impl Sync for LivePreRollConfiguration
impl Unpin for LivePreRollConfiguration
impl UnwindSafe for LivePreRollConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self