#[non_exhaustive]pub struct HlsCaptionLanguageMappingBuilder { /* private fields */ }
Expand description
A builder for HlsCaptionLanguageMapping
.
Implementations§
source§impl HlsCaptionLanguageMappingBuilder
impl HlsCaptionLanguageMappingBuilder
Caption channel.
Caption channel.
Caption channel.
sourcepub fn custom_language_code(self, input: impl Into<String>) -> Self
pub fn custom_language_code(self, input: impl Into<String>) -> Self
Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code
sourcepub fn set_custom_language_code(self, input: Option<String>) -> Self
pub fn set_custom_language_code(self, input: Option<String>) -> Self
Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code
sourcepub fn get_custom_language_code(&self) -> &Option<String>
pub fn get_custom_language_code(&self) -> &Option<String>
Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
sourcepub fn language_description(self, input: impl Into<String>) -> Self
pub fn language_description(self, input: impl Into<String>) -> Self
Caption language description.
sourcepub fn set_language_description(self, input: Option<String>) -> Self
pub fn set_language_description(self, input: Option<String>) -> Self
Caption language description.
sourcepub fn get_language_description(&self) -> &Option<String>
pub fn get_language_description(&self) -> &Option<String>
Caption language description.
sourcepub fn build(self) -> HlsCaptionLanguageMapping
pub fn build(self) -> HlsCaptionLanguageMapping
Consumes the builder and constructs a HlsCaptionLanguageMapping
.
Trait Implementations§
source§impl Clone for HlsCaptionLanguageMappingBuilder
impl Clone for HlsCaptionLanguageMappingBuilder
source§fn clone(&self) -> HlsCaptionLanguageMappingBuilder
fn clone(&self) -> HlsCaptionLanguageMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for HlsCaptionLanguageMappingBuilder
impl Default for HlsCaptionLanguageMappingBuilder
source§fn default() -> HlsCaptionLanguageMappingBuilder
fn default() -> HlsCaptionLanguageMappingBuilder
source§impl PartialEq for HlsCaptionLanguageMappingBuilder
impl PartialEq for HlsCaptionLanguageMappingBuilder
source§fn eq(&self, other: &HlsCaptionLanguageMappingBuilder) -> bool
fn eq(&self, other: &HlsCaptionLanguageMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsCaptionLanguageMappingBuilder
Auto Trait Implementations§
impl Freeze for HlsCaptionLanguageMappingBuilder
impl RefUnwindSafe for HlsCaptionLanguageMappingBuilder
impl Send for HlsCaptionLanguageMappingBuilder
impl Sync for HlsCaptionLanguageMappingBuilder
impl Unpin for HlsCaptionLanguageMappingBuilder
impl UnwindSafe for HlsCaptionLanguageMappingBuilder
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