Struct aws_sdk_lexmodelsv2::types::AudioSpecification
source · #[non_exhaustive]pub struct AudioSpecification {
pub max_length_ms: i32,
pub end_timeout_ms: i32,
}
Expand description
Specifies the audio input specifications.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_length_ms: i32
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
end_timeout_ms: i32
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
Implementations§
source§impl AudioSpecification
impl AudioSpecification
sourcepub fn max_length_ms(&self) -> i32
pub fn max_length_ms(&self) -> i32
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
sourcepub fn end_timeout_ms(&self) -> i32
pub fn end_timeout_ms(&self) -> i32
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
source§impl AudioSpecification
impl AudioSpecification
sourcepub fn builder() -> AudioSpecificationBuilder
pub fn builder() -> AudioSpecificationBuilder
Creates a new builder-style object to manufacture AudioSpecification
.
Trait Implementations§
source§impl Clone for AudioSpecification
impl Clone for AudioSpecification
source§fn clone(&self) -> AudioSpecification
fn clone(&self) -> AudioSpecification
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 AudioSpecification
impl Debug for AudioSpecification
source§impl PartialEq for AudioSpecification
impl PartialEq for AudioSpecification
source§fn eq(&self, other: &AudioSpecification) -> bool
fn eq(&self, other: &AudioSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudioSpecification
Auto Trait Implementations§
impl RefUnwindSafe for AudioSpecification
impl Send for AudioSpecification
impl Sync for AudioSpecification
impl Unpin for AudioSpecification
impl UnwindSafe for AudioSpecification
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> 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>
Creates a shared type from an unshared type.