#[non_exhaustive]pub struct SrtDestinationSettings {
pub style_passthrough: Option<SrtStylePassthrough>,
}
Expand description
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.
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.style_passthrough: 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.
Implementations§
source§impl SrtDestinationSettings
impl SrtDestinationSettings
sourcepub fn style_passthrough(&self) -> Option<&SrtStylePassthrough>
pub fn 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.
source§impl SrtDestinationSettings
impl SrtDestinationSettings
sourcepub fn builder() -> SrtDestinationSettingsBuilder
pub fn builder() -> SrtDestinationSettingsBuilder
Creates a new builder-style object to manufacture SrtDestinationSettings
.
Trait Implementations§
source§impl Clone for SrtDestinationSettings
impl Clone for SrtDestinationSettings
source§fn clone(&self) -> SrtDestinationSettings
fn clone(&self) -> SrtDestinationSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SrtDestinationSettings
impl Debug for SrtDestinationSettings
source§impl PartialEq for SrtDestinationSettings
impl PartialEq for SrtDestinationSettings
source§fn eq(&self, other: &SrtDestinationSettings) -> bool
fn eq(&self, other: &SrtDestinationSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SrtDestinationSettings
Auto Trait Implementations§
impl Freeze for SrtDestinationSettings
impl RefUnwindSafe for SrtDestinationSettings
impl Send for SrtDestinationSettings
impl Sync for SrtDestinationSettings
impl Unpin for SrtDestinationSettings
impl UnwindSafe for SrtDestinationSettings
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