[][src]Struct rusoto_polly::Voice

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>,
}

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.

Trait Implementations

impl PartialEq<Voice> for Voice[src]

impl Default for Voice[src]

impl Clone for Voice[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Voice[src]

impl<'de> Deserialize<'de> for Voice[src]

Auto Trait Implementations

impl Send for Voice

impl Unpin for Voice

impl Sync for Voice

impl UnwindSafe for Voice

impl RefUnwindSafe for Voice

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T