#[non_exhaustive]pub struct HlsRenditionGroupSettings {
pub rendition_group_id: Option<String>,
pub rendition_language_code: Option<LanguageCode>,
pub rendition_name: Option<String>,
}
Expand description
Settings specific to audio sources in an HLS alternate rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique audio track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the properties provided, the job fails. If no properties in hlsRenditionGroupSettings are specified, the default audio track within the video segment is chosen. If there is no audio within video segment, the alternative audio with DEFAULT=YES is chosen instead.
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 HlsRenditionGroupSettings
impl HlsRenditionGroupSettings
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 HlsRenditionGroupSettings
impl HlsRenditionGroupSettings
sourcepub fn builder() -> HlsRenditionGroupSettingsBuilder
pub fn builder() -> HlsRenditionGroupSettingsBuilder
Creates a new builder-style object to manufacture HlsRenditionGroupSettings
.
Trait Implementations§
source§impl Clone for HlsRenditionGroupSettings
impl Clone for HlsRenditionGroupSettings
source§fn clone(&self) -> HlsRenditionGroupSettings
fn clone(&self) -> HlsRenditionGroupSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsRenditionGroupSettings
impl Debug for HlsRenditionGroupSettings
source§impl PartialEq for HlsRenditionGroupSettings
impl PartialEq for HlsRenditionGroupSettings
source§fn eq(&self, other: &HlsRenditionGroupSettings) -> bool
fn eq(&self, other: &HlsRenditionGroupSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsRenditionGroupSettings
Auto Trait Implementations§
impl Freeze for HlsRenditionGroupSettings
impl RefUnwindSafe for HlsRenditionGroupSettings
impl Send for HlsRenditionGroupSettings
impl Sync for HlsRenditionGroupSettings
impl Unpin for HlsRenditionGroupSettings
impl UnwindSafe for HlsRenditionGroupSettings
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