#[non_exhaustive]pub struct AdvancedRecognitionSettingBuilder { /* private fields */ }Expand description
A builder for AdvancedRecognitionSetting.
Implementations§
source§impl AdvancedRecognitionSettingBuilder
impl AdvancedRecognitionSettingBuilder
sourcepub fn audio_recognition_strategy(self, input: AudioRecognitionStrategy) -> Self
pub fn audio_recognition_strategy(self, input: AudioRecognitionStrategy) -> Self
Enables using the slot values as a custom vocabulary for recognizing user utterances.
sourcepub fn set_audio_recognition_strategy(
self,
input: Option<AudioRecognitionStrategy>
) -> Self
pub fn set_audio_recognition_strategy( self, input: Option<AudioRecognitionStrategy> ) -> Self
Enables using the slot values as a custom vocabulary for recognizing user utterances.
sourcepub fn get_audio_recognition_strategy(
&self
) -> &Option<AudioRecognitionStrategy>
pub fn get_audio_recognition_strategy( &self ) -> &Option<AudioRecognitionStrategy>
Enables using the slot values as a custom vocabulary for recognizing user utterances.
sourcepub fn build(self) -> AdvancedRecognitionSetting
pub fn build(self) -> AdvancedRecognitionSetting
Consumes the builder and constructs a AdvancedRecognitionSetting.
Trait Implementations§
source§impl Clone for AdvancedRecognitionSettingBuilder
impl Clone for AdvancedRecognitionSettingBuilder
source§fn clone(&self) -> AdvancedRecognitionSettingBuilder
fn clone(&self) -> AdvancedRecognitionSettingBuilder
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 Default for AdvancedRecognitionSettingBuilder
impl Default for AdvancedRecognitionSettingBuilder
source§fn default() -> AdvancedRecognitionSettingBuilder
fn default() -> AdvancedRecognitionSettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AdvancedRecognitionSettingBuilder
impl PartialEq for AdvancedRecognitionSettingBuilder
source§fn eq(&self, other: &AdvancedRecognitionSettingBuilder) -> bool
fn eq(&self, other: &AdvancedRecognitionSettingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AdvancedRecognitionSettingBuilder
Auto Trait Implementations§
impl Freeze for AdvancedRecognitionSettingBuilder
impl RefUnwindSafe for AdvancedRecognitionSettingBuilder
impl Send for AdvancedRecognitionSettingBuilder
impl Sync for AdvancedRecognitionSettingBuilder
impl Unpin for AdvancedRecognitionSettingBuilder
impl UnwindSafe for AdvancedRecognitionSettingBuilder
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.