Struct aws_sdk_transcribe::types::builders::SubtitlesBuilder
source · #[non_exhaustive]pub struct SubtitlesBuilder { /* private fields */ }Expand description
A builder for Subtitles.
Implementations§
source§impl SubtitlesBuilder
impl SubtitlesBuilder
sourcepub fn formats(self, input: SubtitleFormat) -> Self
pub fn formats(self, input: SubtitleFormat) -> Self
Appends an item to formats.
To override the contents of this collection use set_formats.
Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.
sourcepub fn set_formats(self, input: Option<Vec<SubtitleFormat>>) -> Self
pub fn set_formats(self, input: Option<Vec<SubtitleFormat>>) -> Self
Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.
sourcepub fn output_start_index(self, input: i32) -> Self
pub fn output_start_index(self, input: i32) -> Self
Specify the starting value that is assigned to the first subtitle segment.
The default start index for Amazon Transcribe is 0, which differs from the more widely used standard of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.
sourcepub fn set_output_start_index(self, input: Option<i32>) -> Self
pub fn set_output_start_index(self, input: Option<i32>) -> Self
Specify the starting value that is assigned to the first subtitle segment.
The default start index for Amazon Transcribe is 0, which differs from the more widely used standard of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.
Trait Implementations§
source§impl Clone for SubtitlesBuilder
impl Clone for SubtitlesBuilder
source§fn clone(&self) -> SubtitlesBuilder
fn clone(&self) -> SubtitlesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SubtitlesBuilder
impl Debug for SubtitlesBuilder
source§impl Default for SubtitlesBuilder
impl Default for SubtitlesBuilder
source§fn default() -> SubtitlesBuilder
fn default() -> SubtitlesBuilder
source§impl PartialEq<SubtitlesBuilder> for SubtitlesBuilder
impl PartialEq<SubtitlesBuilder> for SubtitlesBuilder
source§fn eq(&self, other: &SubtitlesBuilder) -> bool
fn eq(&self, other: &SubtitlesBuilder) -> bool
self and other values to be equal, and is used
by ==.