[][src]Struct rusoto_mediatailor::LivePreRollConfiguration

pub struct LivePreRollConfiguration {
    pub ad_decision_server_url: Option<String>,
    pub max_duration_seconds: Option<i64>,
}

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

impl Clone for LivePreRollConfiguration[src]

impl Debug for LivePreRollConfiguration[src]

impl Default for LivePreRollConfiguration[src]

impl<'de> Deserialize<'de> for LivePreRollConfiguration[src]

impl PartialEq<LivePreRollConfiguration> for LivePreRollConfiguration[src]

impl Serialize for LivePreRollConfiguration[src]

impl StructuralPartialEq for LivePreRollConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.