#[non_exhaustive]pub struct TrackSourceSettingsBuilder { /* private fields */ }
Expand description
A builder for TrackSourceSettings
.
Implementations§
source§impl TrackSourceSettingsBuilder
impl TrackSourceSettingsBuilder
sourcepub fn track_number(self, input: i32) -> Self
pub fn track_number(self, input: i32) -> Self
Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector.
sourcepub fn set_track_number(self, input: Option<i32>) -> Self
pub fn set_track_number(self, input: Option<i32>) -> Self
Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector.
sourcepub fn get_track_number(&self) -> &Option<i32>
pub fn get_track_number(&self) -> &Option<i32>
Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector.
sourcepub fn build(self) -> TrackSourceSettings
pub fn build(self) -> TrackSourceSettings
Consumes the builder and constructs a TrackSourceSettings
.
Trait Implementations§
source§impl Clone for TrackSourceSettingsBuilder
impl Clone for TrackSourceSettingsBuilder
source§fn clone(&self) -> TrackSourceSettingsBuilder
fn clone(&self) -> TrackSourceSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrackSourceSettingsBuilder
impl Debug for TrackSourceSettingsBuilder
source§impl Default for TrackSourceSettingsBuilder
impl Default for TrackSourceSettingsBuilder
source§fn default() -> TrackSourceSettingsBuilder
fn default() -> TrackSourceSettingsBuilder
source§impl PartialEq for TrackSourceSettingsBuilder
impl PartialEq for TrackSourceSettingsBuilder
source§fn eq(&self, other: &TrackSourceSettingsBuilder) -> bool
fn eq(&self, other: &TrackSourceSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrackSourceSettingsBuilder
Auto Trait Implementations§
impl Freeze for TrackSourceSettingsBuilder
impl RefUnwindSafe for TrackSourceSettingsBuilder
impl Send for TrackSourceSettingsBuilder
impl Sync for TrackSourceSettingsBuilder
impl Unpin for TrackSourceSettingsBuilder
impl UnwindSafe for TrackSourceSettingsBuilder
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