Struct rusoto_polly::SynthesizeSpeechOutput [−][src]
pub struct SynthesizeSpeechOutput { pub audio_stream: Option<Vec<u8>>, pub content_type: Option<String>, pub request_characters: Option<i64>, }
Fields
audio_stream: Option<Vec<u8>>
Stream containing the synthesized speech.
content_type: Option<String>
Specifies the type audio stream. This should reflect the OutputFormat
parameter in your request.
-
If you request
mp3
as theOutputFormat
, theContentType
returned is audio/mpeg. -
If you request
ogg_vorbis
as theOutputFormat
, theContentType
returned is audio/ogg. -
If you request
pcm
as theOutputFormat
, theContentType
returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. -
If you request
json
as theOutputFormat
, theContentType
returned is audio/json.
request_characters: Option<i64>
Number of characters synthesized.
Trait Implementations
impl Default for SynthesizeSpeechOutput
[src]
impl Default for SynthesizeSpeechOutput
fn default() -> SynthesizeSpeechOutput
[src]
fn default() -> SynthesizeSpeechOutput
Returns the "default value" for a type. Read more
impl Debug for SynthesizeSpeechOutput
[src]
impl Debug for SynthesizeSpeechOutput
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 Clone for SynthesizeSpeechOutput
[src]
impl Clone for SynthesizeSpeechOutput
fn clone(&self) -> SynthesizeSpeechOutput
[src]
fn clone(&self) -> SynthesizeSpeechOutput
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 PartialEq for SynthesizeSpeechOutput
[src]
impl PartialEq for SynthesizeSpeechOutput
fn eq(&self, other: &SynthesizeSpeechOutput) -> bool
[src]
fn eq(&self, other: &SynthesizeSpeechOutput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SynthesizeSpeechOutput) -> bool
[src]
fn ne(&self, other: &SynthesizeSpeechOutput) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SynthesizeSpeechOutput
impl Send for SynthesizeSpeechOutput
impl Sync for SynthesizeSpeechOutput
impl Sync for SynthesizeSpeechOutput