#[non_exhaustive]pub struct WebvttHlsSourceSettings {
pub rendition_group_id: Option<String>,
pub rendition_language_code: Option<LanguageCode>,
pub rendition_name: Option<String>,
}
Expand description
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.
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.rendition_group_id: Option<String>
Optional. Specify alternative group ID
rendition_language_code: Option<LanguageCode>
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
rendition_name: Option<String>
Optional. Specify media name
Implementations§
source§impl WebvttHlsSourceSettings
impl WebvttHlsSourceSettings
sourcepub fn rendition_group_id(&self) -> Option<&str>
pub fn rendition_group_id(&self) -> Option<&str>
Optional. Specify alternative group ID
sourcepub fn rendition_language_code(&self) -> Option<&LanguageCode>
pub fn rendition_language_code(&self) -> Option<&LanguageCode>
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
sourcepub fn rendition_name(&self) -> Option<&str>
pub fn rendition_name(&self) -> Option<&str>
Optional. Specify media name
source§impl WebvttHlsSourceSettings
impl WebvttHlsSourceSettings
sourcepub fn builder() -> WebvttHlsSourceSettingsBuilder
pub fn builder() -> WebvttHlsSourceSettingsBuilder
Creates a new builder-style object to manufacture WebvttHlsSourceSettings
.
Trait Implementations§
source§impl Clone for WebvttHlsSourceSettings
impl Clone for WebvttHlsSourceSettings
source§fn clone(&self) -> WebvttHlsSourceSettings
fn clone(&self) -> WebvttHlsSourceSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WebvttHlsSourceSettings
impl Debug for WebvttHlsSourceSettings
source§impl PartialEq for WebvttHlsSourceSettings
impl PartialEq for WebvttHlsSourceSettings
source§fn eq(&self, other: &WebvttHlsSourceSettings) -> bool
fn eq(&self, other: &WebvttHlsSourceSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WebvttHlsSourceSettings
Auto Trait Implementations§
impl Freeze for WebvttHlsSourceSettings
impl RefUnwindSafe for WebvttHlsSourceSettings
impl Send for WebvttHlsSourceSettings
impl Sync for WebvttHlsSourceSettings
impl Unpin for WebvttHlsSourceSettings
impl UnwindSafe for WebvttHlsSourceSettings
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