[][src]Struct rusoto_mediaconvert::CaptionDescriptionPreset

pub struct CaptionDescriptionPreset {
    pub custom_language_code: Option<String>,
    pub destination_settings: Option<CaptionDestinationSettings>,
    pub language_code: Option<String>,
    pub language_description: Option<String>,
}

Caption Description for preset

Fields

custom_language_code: Option<String>

Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.

destination_settings: Option<CaptionDestinationSettings>

Specific settings required by destination type. Note that burnindestinationsettings are not available if the source of the caption data is Embedded or Teletext.

language_code: Option<String>

Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.

language_description: Option<String>

Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.

Trait Implementations

impl Clone for CaptionDescriptionPreset[src]

impl Debug for CaptionDescriptionPreset[src]

impl Default for CaptionDescriptionPreset[src]

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

impl PartialEq<CaptionDescriptionPreset> for CaptionDescriptionPreset[src]

impl Serialize for CaptionDescriptionPreset[src]

impl StructuralPartialEq for CaptionDescriptionPreset[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: 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> 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.