Struct rusoto_polly::SynthesizeSpeechOutput [−][src]
pub struct SynthesizeSpeechOutput { pub audio_stream: Option<Bytes>, pub content_type: Option<String>, pub request_characters: Option<i64>, }
Fields
audio_stream: Option<Bytes>
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SynthesizeSpeechOutput
impl Send for SynthesizeSpeechOutput
impl Sync for SynthesizeSpeechOutput
impl Unpin for SynthesizeSpeechOutput
impl UnwindSafe for SynthesizeSpeechOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self