pub struct GoogleCloudDialogflowCxV3VoiceSelectionParams {
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. For the list of available voices, please refer to Supported voices and languages.
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 substitutes a voice with a different gender rather than failing the request.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl Clone for GoogleCloudDialogflowCxV3VoiceSelectionParams
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3VoiceSelectionParams
fn clone(&self) -> GoogleCloudDialogflowCxV3VoiceSelectionParams
Returns a duplicate 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 GoogleCloudDialogflowCxV3VoiceSelectionParams
impl Default for GoogleCloudDialogflowCxV3VoiceSelectionParams
Source§fn default() -> GoogleCloudDialogflowCxV3VoiceSelectionParams
fn default() -> GoogleCloudDialogflowCxV3VoiceSelectionParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3VoiceSelectionParams
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 GoogleCloudDialogflowCxV3VoiceSelectionParams
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl RefUnwindSafe for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl Send for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl Sync for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl Unpin for GoogleCloudDialogflowCxV3VoiceSelectionParams
impl UnwindSafe for GoogleCloudDialogflowCxV3VoiceSelectionParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more