Struct google_texttospeech1::Voice[][src]

pub struct Voice {
    pub natural_sample_rate_hertz: Option<i32>,
    pub language_codes: Option<Vec<String>>,
    pub ssml_gender: Option<String>,
    pub name: Option<String>,
}

Description of a voice supported by the TTS service.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The natural sample rate (in hertz) for this voice.

The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").

The gender of this voice.

The name of this voice. Each distinct voice has a unique name.

Trait Implementations

impl Default for Voice
[src]

Returns the "default value" for a type. Read more

impl Clone for Voice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Voice
[src]

Formats the value using the given formatter. Read more

impl Resource for Voice
[src]

Auto Trait Implementations

impl Send for Voice

impl Sync for Voice