Struct aws_sdk_transcribe::types::builders::LanguageCodeItemBuilder
source · #[non_exhaustive]pub struct LanguageCodeItemBuilder { /* private fields */ }Expand description
A builder for LanguageCodeItem.
Implementations§
source§impl LanguageCodeItemBuilder
impl LanguageCodeItemBuilder
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
Provides the language code for each language identified in your media.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
Provides the language code for each language identified in your media.
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
Provides the language code for each language identified in your media.
sourcepub fn duration_in_seconds(self, input: f32) -> Self
pub fn duration_in_seconds(self, input: f32) -> Self
Provides the total time, in seconds, each identified language is spoken in your media.
sourcepub fn set_duration_in_seconds(self, input: Option<f32>) -> Self
pub fn set_duration_in_seconds(self, input: Option<f32>) -> Self
Provides the total time, in seconds, each identified language is spoken in your media.
sourcepub fn get_duration_in_seconds(&self) -> &Option<f32>
pub fn get_duration_in_seconds(&self) -> &Option<f32>
Provides the total time, in seconds, each identified language is spoken in your media.
sourcepub fn build(self) -> LanguageCodeItem
pub fn build(self) -> LanguageCodeItem
Consumes the builder and constructs a LanguageCodeItem.
Trait Implementations§
source§impl Clone for LanguageCodeItemBuilder
impl Clone for LanguageCodeItemBuilder
source§fn clone(&self) -> LanguageCodeItemBuilder
fn clone(&self) -> LanguageCodeItemBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LanguageCodeItemBuilder
impl Debug for LanguageCodeItemBuilder
source§impl Default for LanguageCodeItemBuilder
impl Default for LanguageCodeItemBuilder
source§fn default() -> LanguageCodeItemBuilder
fn default() -> LanguageCodeItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LanguageCodeItemBuilder
impl PartialEq for LanguageCodeItemBuilder
impl StructuralPartialEq for LanguageCodeItemBuilder
Auto Trait Implementations§
impl Freeze for LanguageCodeItemBuilder
impl RefUnwindSafe for LanguageCodeItemBuilder
impl Send for LanguageCodeItemBuilder
impl Sync for LanguageCodeItemBuilder
impl Unpin for LanguageCodeItemBuilder
impl UnwindSafe for LanguageCodeItemBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.