Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams [−][src]
pub struct GoogleCloudDialogflowV2beta1VoiceSelectionParams { pub ssml_gender: Option<String>, pub name: Option<String>, }
Description of which voice to use for speech synthesis.
This type is not used in any activity, and only used as part of another schema.
Fields
ssml_gender: Option<String>
Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request.
name: Option<String>
Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.
Trait Implementations
impl Default for GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
impl Default for GoogleCloudDialogflowV2beta1VoiceSelectionParams
fn default() -> GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
fn default() -> GoogleCloudDialogflowV2beta1VoiceSelectionParams
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
impl Clone for GoogleCloudDialogflowV2beta1VoiceSelectionParams
fn clone(&self) -> GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
fn clone(&self) -> GoogleCloudDialogflowV2beta1VoiceSelectionParams
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)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
impl Debug for GoogleCloudDialogflowV2beta1VoiceSelectionParams
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 Part for GoogleCloudDialogflowV2beta1VoiceSelectionParams
[src]
impl Part for GoogleCloudDialogflowV2beta1VoiceSelectionParams