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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.