Struct aws_sdk_mediaconvert::types::CaptionSelector
source · #[non_exhaustive]pub struct CaptionSelector {
pub custom_language_code: Option<String>,
pub language_code: Option<LanguageCode>,
pub source_settings: Option<CaptionSourceSettings>,
}
Expand description
Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 100 captions selectors per input.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.custom_language_code: Option<String>
The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
language_code: Option<LanguageCode>
The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
source_settings: Option<CaptionSourceSettings>
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
Implementations§
source§impl CaptionSelector
impl CaptionSelector
sourcepub fn custom_language_code(&self) -> Option<&str>
pub fn custom_language_code(&self) -> Option<&str>
The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
sourcepub fn source_settings(&self) -> Option<&CaptionSourceSettings>
pub fn source_settings(&self) -> Option<&CaptionSourceSettings>
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
source§impl CaptionSelector
impl CaptionSelector
sourcepub fn builder() -> CaptionSelectorBuilder
pub fn builder() -> CaptionSelectorBuilder
Creates a new builder-style object to manufacture CaptionSelector
.
Trait Implementations§
source§impl Clone for CaptionSelector
impl Clone for CaptionSelector
source§fn clone(&self) -> CaptionSelector
fn clone(&self) -> CaptionSelector
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptionSelector
impl Debug for CaptionSelector
source§impl PartialEq for CaptionSelector
impl PartialEq for CaptionSelector
source§fn eq(&self, other: &CaptionSelector) -> bool
fn eq(&self, other: &CaptionSelector) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionSelector
Auto Trait Implementations§
impl Freeze for CaptionSelector
impl RefUnwindSafe for CaptionSelector
impl Send for CaptionSelector
impl Sync for CaptionSelector
impl Unpin for CaptionSelector
impl UnwindSafe for CaptionSelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more