Struct rusoto_mediaconvert::CaptionDescription
source · [−]pub struct CaptionDescription {
pub caption_selector_name: Option<String>,
pub custom_language_code: Option<String>,
pub destination_settings: Option<CaptionDestinationSettings>,
pub language_code: Option<String>,
pub language_description: Option<String>,
}
Expand description
This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
Fields
Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions. The name should be of the format "Caption Selector
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>
Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab corresponds to one output captions track. Depending on your output captions format, one tab might correspond to a set of output captions tracks. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.
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
sourceimpl Clone for CaptionDescription
impl Clone for CaptionDescription
sourcefn clone(&self) -> CaptionDescription
fn clone(&self) -> CaptionDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CaptionDescription
impl Debug for CaptionDescription
sourceimpl Default for CaptionDescription
impl Default for CaptionDescription
sourcefn default() -> CaptionDescription
fn default() -> CaptionDescription
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CaptionDescription
impl<'de> Deserialize<'de> for CaptionDescription
sourcefn 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
sourceimpl PartialEq<CaptionDescription> for CaptionDescription
impl PartialEq<CaptionDescription> for CaptionDescription
sourcefn eq(&self, other: &CaptionDescription) -> bool
fn eq(&self, other: &CaptionDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CaptionDescription) -> bool
fn ne(&self, other: &CaptionDescription) -> bool
This method tests for !=
.
sourceimpl Serialize for CaptionDescription
impl Serialize for CaptionDescription
impl StructuralPartialEq for CaptionDescription
Auto Trait Implementations
impl RefUnwindSafe for CaptionDescription
impl Send for CaptionDescription
impl Sync for CaptionDescription
impl Unpin for CaptionDescription
impl UnwindSafe for CaptionDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more