Struct rusoto_polly::Voice [−][src]
pub struct Voice { pub additional_language_codes: Option<Vec<String>>, pub gender: Option<String>, pub id: Option<String>, pub language_code: Option<String>, pub language_name: Option<String>, pub name: Option<String>, pub supported_engines: Option<Vec<String>>, }
Expand description
Description of the voice.
Fields
additional_language_codes: Option<Vec<String>>
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN
.
gender: Option<String>
Gender of the voice.
id: Option<String>
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
language_code: Option<String>
Language code of the voice.
language_name: Option<String>
Human readable name of the language in English.
name: Option<String>
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
supported_engines: Option<Vec<String>>
Specifies which engines (standard
or neural
) that are supported by a given voice.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Voice
impl UnwindSafe for Voice
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self