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

Stream containing the synthesized speech.

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Number of characters synthesized.

Trait Implementations

impl Default for SynthesizeSpeechOutput
[src]

Returns the "default value" for a type. Read more

impl Debug for SynthesizeSpeechOutput
[src]

Formats the value using the given formatter. Read more

impl Clone for SynthesizeSpeechOutput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SynthesizeSpeechOutput
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations