[][src]Struct rusoto_polly::SynthesizeSpeechOutput

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 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.

request_characters: Option<i64>

Number of characters synthesized.

Trait Implementations

impl Clone for SynthesizeSpeechOutput[src]

impl Debug for SynthesizeSpeechOutput[src]

impl Default for SynthesizeSpeechOutput[src]

impl PartialEq<SynthesizeSpeechOutput> for SynthesizeSpeechOutput[src]

impl StructuralPartialEq for SynthesizeSpeechOutput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.