Struct aws_sdk_lexmodelsv2::model::VoiceSettings
source · [−]#[non_exhaustive]pub struct VoiceSettings {
pub voice_id: Option<String>,
pub engine: Option<VoiceEngine>,
}Expand description
Defines settings for using an Amazon Polly voice to communicate with a user.
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.voice_id: Option<String>The identifier of the Amazon Polly voice to use.
engine: Option<VoiceEngine>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
If you do not specify a value, the default is standard.
Implementations
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
If you do not specify a value, the default is standard.
Creates a new builder-style object to manufacture VoiceSettings
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for VoiceSettings
impl Send for VoiceSettings
impl Sync for VoiceSettings
impl Unpin for VoiceSettings
impl UnwindSafe for VoiceSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more