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).
- list voices (none)
Fields
natural_sample_rate_hertz: Option<i32>
The natural sample rate (in hertz) for this voice.
language_codes: Option<Vec<String>>
The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
ssml_gender: Option<String>
The gender of this voice.
name: Option<String>
The name of this voice. Each distinct voice has a unique name.
Trait Implementations
impl Default for Voice
[src]
impl Default for Voice
impl Clone for Voice
[src]
impl Clone for Voice
fn clone(&self) -> Voice
[src]
fn clone(&self) -> Voice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[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 Debug for Voice
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Voice
[src]
impl Resource for Voice