Struct google_texttospeech1::SynthesizeSpeechRequest [−][src]
pub struct SynthesizeSpeechRequest { pub input: Option<SynthesisInput>, pub voice: Option<VoiceSelectionParams>, pub audio_config: Option<AudioConfig>, }
The top-level message sent by the client for the SynthesizeSpeech
method.
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).
- synthesize text (request)
Fields
input: Option<SynthesisInput>
Required. The Synthesizer requires either plain text or SSML as input.
voice: Option<VoiceSelectionParams>
Required. The desired voice of the synthesized audio.
audio_config: Option<AudioConfig>
Required. The configuration of the synthesized audio.
Trait Implementations
impl Default for SynthesizeSpeechRequest
[src]
impl Default for SynthesizeSpeechRequest
fn default() -> SynthesizeSpeechRequest
[src]
fn default() -> SynthesizeSpeechRequest
Returns the "default value" for a type. Read more
impl Clone for SynthesizeSpeechRequest
[src]
impl Clone for SynthesizeSpeechRequest
fn clone(&self) -> SynthesizeSpeechRequest
[src]
fn clone(&self) -> SynthesizeSpeechRequest
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 SynthesizeSpeechRequest
[src]
impl Debug for SynthesizeSpeechRequest
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 RequestValue for SynthesizeSpeechRequest
[src]
impl RequestValue for SynthesizeSpeechRequest
Auto Trait Implementations
impl Send for SynthesizeSpeechRequest
impl Send for SynthesizeSpeechRequest
impl Sync for SynthesizeSpeechRequest
impl Sync for SynthesizeSpeechRequest