#[non_exhaustive]pub struct SrtDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for SrtDestinationSettings
.
Implementations§
source§impl SrtDestinationSettingsBuilder
impl SrtDestinationSettingsBuilder
sourcepub fn style_passthrough(self, input: SrtStylePassthrough) -> Self
pub fn style_passthrough(self, input: SrtStylePassthrough) -> Self
Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use simplified output captions.
sourcepub fn set_style_passthrough(self, input: Option<SrtStylePassthrough>) -> Self
pub fn set_style_passthrough(self, input: Option<SrtStylePassthrough>) -> Self
Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use simplified output captions.
sourcepub fn get_style_passthrough(&self) -> &Option<SrtStylePassthrough>
pub fn get_style_passthrough(&self) -> &Option<SrtStylePassthrough>
Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use simplified output captions.
sourcepub fn build(self) -> SrtDestinationSettings
pub fn build(self) -> SrtDestinationSettings
Consumes the builder and constructs a SrtDestinationSettings
.
Trait Implementations§
source§impl Clone for SrtDestinationSettingsBuilder
impl Clone for SrtDestinationSettingsBuilder
source§fn clone(&self) -> SrtDestinationSettingsBuilder
fn clone(&self) -> SrtDestinationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SrtDestinationSettingsBuilder
impl Default for SrtDestinationSettingsBuilder
source§fn default() -> SrtDestinationSettingsBuilder
fn default() -> SrtDestinationSettingsBuilder
source§impl PartialEq for SrtDestinationSettingsBuilder
impl PartialEq for SrtDestinationSettingsBuilder
source§fn eq(&self, other: &SrtDestinationSettingsBuilder) -> bool
fn eq(&self, other: &SrtDestinationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SrtDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for SrtDestinationSettingsBuilder
impl RefUnwindSafe for SrtDestinationSettingsBuilder
impl Send for SrtDestinationSettingsBuilder
impl Sync for SrtDestinationSettingsBuilder
impl Unpin for SrtDestinationSettingsBuilder
impl UnwindSafe for SrtDestinationSettingsBuilder
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