Struct google_transcoder1_beta1::api::TextStream[][src]

pub struct TextStream {
    pub codec: Option<String>,
    pub language_code: Option<String>,
    pub mapping: Option<Vec<TextAtom>>,
}

Encoding of a text stream. For example, closed captions or subtitles.

This type is not used in any activity, and only used as part of another schema.

Fields

codec: Option<String>

The codec for this text stream. The default is "webvtt". Supported text codecs: - ‘srt’ - ‘ttml’ - ‘cea608’ - ‘cea708’ - ‘webvtt’

language_code: Option<String>

Required. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

mapping: Option<Vec<TextAtom>>

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

Trait Implementations

impl Clone for TextStream[src]

impl Debug for TextStream[src]

impl Default for TextStream[src]

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

impl Part for TextStream[src]

impl Serialize for TextStream[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> Instrument for T[src]

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

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.