pub struct GoogleCloudDialogflowV2VoiceSelectionParams {
pub name: Option<String>,
pub ssml_gender: Option<String>,
}
Expand description
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§
§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 ssml_gender.
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.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2VoiceSelectionParams
impl Clone for GoogleCloudDialogflowV2VoiceSelectionParams
source§fn clone(&self) -> GoogleCloudDialogflowV2VoiceSelectionParams
fn clone(&self) -> GoogleCloudDialogflowV2VoiceSelectionParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2VoiceSelectionParams
impl Default for GoogleCloudDialogflowV2VoiceSelectionParams
source§fn default() -> GoogleCloudDialogflowV2VoiceSelectionParams
fn default() -> GoogleCloudDialogflowV2VoiceSelectionParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2VoiceSelectionParams
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2VoiceSelectionParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2VoiceSelectionParams
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2VoiceSelectionParams
impl Send for GoogleCloudDialogflowV2VoiceSelectionParams
impl Sync for GoogleCloudDialogflowV2VoiceSelectionParams
impl Unpin for GoogleCloudDialogflowV2VoiceSelectionParams
impl UnwindSafe for GoogleCloudDialogflowV2VoiceSelectionParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more