#[non_exhaustive]pub struct CaptionDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for CaptionDestinationSettings
.
Implementations§
source§impl CaptionDestinationSettingsBuilder
impl CaptionDestinationSettingsBuilder
sourcepub fn burnin_destination_settings(
self,
input: BurninDestinationSettings
) -> Self
pub fn burnin_destination_settings( self, input: BurninDestinationSettings ) -> Self
Burn-in is a captions delivery method, rather than a captions format. Burn-in writes the captions directly on your video frames, replacing pixels of video content with the captions. Set up burn-in captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html.
sourcepub fn set_burnin_destination_settings(
self,
input: Option<BurninDestinationSettings>
) -> Self
pub fn set_burnin_destination_settings( self, input: Option<BurninDestinationSettings> ) -> Self
Burn-in is a captions delivery method, rather than a captions format. Burn-in writes the captions directly on your video frames, replacing pixels of video content with the captions. Set up burn-in captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html.
sourcepub fn get_burnin_destination_settings(
&self
) -> &Option<BurninDestinationSettings>
pub fn get_burnin_destination_settings( &self ) -> &Option<BurninDestinationSettings>
Burn-in is a captions delivery method, rather than a captions format. Burn-in writes the captions directly on your video frames, replacing pixels of video content with the captions. Set up burn-in captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html.
sourcepub fn destination_type(self, input: CaptionDestinationType) -> Self
pub fn destination_type(self, input: CaptionDestinationType) -> Self
Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Note that your choice of video output container constrains your choice of output captions format. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/captions-support-tables.html. If you are using SCTE-20 and you want to create an output that complies with the SCTE-43 spec, choose SCTE-20 plus embedded. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20.
sourcepub fn set_destination_type(self, input: Option<CaptionDestinationType>) -> Self
pub fn set_destination_type(self, input: Option<CaptionDestinationType>) -> Self
Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Note that your choice of video output container constrains your choice of output captions format. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/captions-support-tables.html. If you are using SCTE-20 and you want to create an output that complies with the SCTE-43 spec, choose SCTE-20 plus embedded. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20.
sourcepub fn get_destination_type(&self) -> &Option<CaptionDestinationType>
pub fn get_destination_type(&self) -> &Option<CaptionDestinationType>
Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Note that your choice of video output container constrains your choice of output captions format. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/captions-support-tables.html. If you are using SCTE-20 and you want to create an output that complies with the SCTE-43 spec, choose SCTE-20 plus embedded. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20.
sourcepub fn dvb_sub_destination_settings(
self,
input: DvbSubDestinationSettings
) -> Self
pub fn dvb_sub_destination_settings( self, input: DvbSubDestinationSettings ) -> Self
Settings related to DVB-Sub captions. Set up DVB-Sub captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/dvb-sub-output-captions.html.
sourcepub fn set_dvb_sub_destination_settings(
self,
input: Option<DvbSubDestinationSettings>
) -> Self
pub fn set_dvb_sub_destination_settings( self, input: Option<DvbSubDestinationSettings> ) -> Self
Settings related to DVB-Sub captions. Set up DVB-Sub captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/dvb-sub-output-captions.html.
sourcepub fn get_dvb_sub_destination_settings(
&self
) -> &Option<DvbSubDestinationSettings>
pub fn get_dvb_sub_destination_settings( &self ) -> &Option<DvbSubDestinationSettings>
Settings related to DVB-Sub captions. Set up DVB-Sub captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/dvb-sub-output-captions.html.
sourcepub fn embedded_destination_settings(
self,
input: EmbeddedDestinationSettings
) -> Self
pub fn embedded_destination_settings( self, input: EmbeddedDestinationSettings ) -> Self
Settings related to CEA/EIA-608 and CEA/EIA-708 (also called embedded or ancillary) captions. Set up embedded captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/embedded-output-captions.html.
sourcepub fn set_embedded_destination_settings(
self,
input: Option<EmbeddedDestinationSettings>
) -> Self
pub fn set_embedded_destination_settings( self, input: Option<EmbeddedDestinationSettings> ) -> Self
Settings related to CEA/EIA-608 and CEA/EIA-708 (also called embedded or ancillary) captions. Set up embedded captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/embedded-output-captions.html.
sourcepub fn get_embedded_destination_settings(
&self
) -> &Option<EmbeddedDestinationSettings>
pub fn get_embedded_destination_settings( &self ) -> &Option<EmbeddedDestinationSettings>
Settings related to CEA/EIA-608 and CEA/EIA-708 (also called embedded or ancillary) captions. Set up embedded captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/embedded-output-captions.html.
sourcepub fn imsc_destination_settings(self, input: ImscDestinationSettings) -> Self
pub fn imsc_destination_settings(self, input: ImscDestinationSettings) -> Self
Settings related to IMSC captions. IMSC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn set_imsc_destination_settings(
self,
input: Option<ImscDestinationSettings>
) -> Self
pub fn set_imsc_destination_settings( self, input: Option<ImscDestinationSettings> ) -> Self
Settings related to IMSC captions. IMSC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn get_imsc_destination_settings(&self) -> &Option<ImscDestinationSettings>
pub fn get_imsc_destination_settings(&self) -> &Option<ImscDestinationSettings>
Settings related to IMSC captions. IMSC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn scc_destination_settings(self, input: SccDestinationSettings) -> Self
pub fn scc_destination_settings(self, input: SccDestinationSettings) -> Self
Settings related to SCC captions. SCC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/scc-srt-output-captions.html.
sourcepub fn set_scc_destination_settings(
self,
input: Option<SccDestinationSettings>
) -> Self
pub fn set_scc_destination_settings( self, input: Option<SccDestinationSettings> ) -> Self
Settings related to SCC captions. SCC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/scc-srt-output-captions.html.
sourcepub fn get_scc_destination_settings(&self) -> &Option<SccDestinationSettings>
pub fn get_scc_destination_settings(&self) -> &Option<SccDestinationSettings>
Settings related to SCC captions. SCC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/scc-srt-output-captions.html.
sourcepub fn srt_destination_settings(self, input: SrtDestinationSettings) -> Self
pub fn srt_destination_settings(self, input: SrtDestinationSettings) -> Self
Settings related to SRT captions. SRT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video.
sourcepub fn set_srt_destination_settings(
self,
input: Option<SrtDestinationSettings>
) -> Self
pub fn set_srt_destination_settings( self, input: Option<SrtDestinationSettings> ) -> Self
Settings related to SRT captions. SRT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video.
sourcepub fn get_srt_destination_settings(&self) -> &Option<SrtDestinationSettings>
pub fn get_srt_destination_settings(&self) -> &Option<SrtDestinationSettings>
Settings related to SRT captions. SRT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video.
sourcepub fn teletext_destination_settings(
self,
input: TeletextDestinationSettings
) -> Self
pub fn teletext_destination_settings( self, input: TeletextDestinationSettings ) -> Self
Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html.
sourcepub fn set_teletext_destination_settings(
self,
input: Option<TeletextDestinationSettings>
) -> Self
pub fn set_teletext_destination_settings( self, input: Option<TeletextDestinationSettings> ) -> Self
Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html.
sourcepub fn get_teletext_destination_settings(
&self
) -> &Option<TeletextDestinationSettings>
pub fn get_teletext_destination_settings( &self ) -> &Option<TeletextDestinationSettings>
Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html.
sourcepub fn ttml_destination_settings(self, input: TtmlDestinationSettings) -> Self
pub fn ttml_destination_settings(self, input: TtmlDestinationSettings) -> Self
Settings related to TTML captions. TTML is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn set_ttml_destination_settings(
self,
input: Option<TtmlDestinationSettings>
) -> Self
pub fn set_ttml_destination_settings( self, input: Option<TtmlDestinationSettings> ) -> Self
Settings related to TTML captions. TTML is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn get_ttml_destination_settings(&self) -> &Option<TtmlDestinationSettings>
pub fn get_ttml_destination_settings(&self) -> &Option<TtmlDestinationSettings>
Settings related to TTML captions. TTML is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn webvtt_destination_settings(
self,
input: WebvttDestinationSettings
) -> Self
pub fn webvtt_destination_settings( self, input: WebvttDestinationSettings ) -> Self
Settings related to WebVTT captions. WebVTT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn set_webvtt_destination_settings(
self,
input: Option<WebvttDestinationSettings>
) -> Self
pub fn set_webvtt_destination_settings( self, input: Option<WebvttDestinationSettings> ) -> Self
Settings related to WebVTT captions. WebVTT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn get_webvtt_destination_settings(
&self
) -> &Option<WebvttDestinationSettings>
pub fn get_webvtt_destination_settings( &self ) -> &Option<WebvttDestinationSettings>
Settings related to WebVTT captions. WebVTT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
sourcepub fn build(self) -> CaptionDestinationSettings
pub fn build(self) -> CaptionDestinationSettings
Consumes the builder and constructs a CaptionDestinationSettings
.
Trait Implementations§
source§impl Clone for CaptionDestinationSettingsBuilder
impl Clone for CaptionDestinationSettingsBuilder
source§fn clone(&self) -> CaptionDestinationSettingsBuilder
fn clone(&self) -> CaptionDestinationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CaptionDestinationSettingsBuilder
impl Default for CaptionDestinationSettingsBuilder
source§fn default() -> CaptionDestinationSettingsBuilder
fn default() -> CaptionDestinationSettingsBuilder
source§impl PartialEq for CaptionDestinationSettingsBuilder
impl PartialEq for CaptionDestinationSettingsBuilder
source§fn eq(&self, other: &CaptionDestinationSettingsBuilder) -> bool
fn eq(&self, other: &CaptionDestinationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for CaptionDestinationSettingsBuilder
impl RefUnwindSafe for CaptionDestinationSettingsBuilder
impl Send for CaptionDestinationSettingsBuilder
impl Sync for CaptionDestinationSettingsBuilder
impl Unpin for CaptionDestinationSettingsBuilder
impl UnwindSafe for CaptionDestinationSettingsBuilder
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