Struct rusoto_polly::SynthesizeSpeechOutput
source · [−]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
sourceimpl Clone for SynthesizeSpeechOutput
impl Clone for SynthesizeSpeechOutput
sourcefn clone(&self) -> SynthesizeSpeechOutput
fn clone(&self) -> SynthesizeSpeechOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SynthesizeSpeechOutput
impl Debug for SynthesizeSpeechOutput
sourceimpl Default for SynthesizeSpeechOutput
impl Default for SynthesizeSpeechOutput
sourcefn default() -> SynthesizeSpeechOutput
fn default() -> SynthesizeSpeechOutput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SynthesizeSpeechOutput> for SynthesizeSpeechOutput
impl PartialEq<SynthesizeSpeechOutput> for SynthesizeSpeechOutput
sourcefn eq(&self, other: &SynthesizeSpeechOutput) -> bool
fn eq(&self, other: &SynthesizeSpeechOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SynthesizeSpeechOutput) -> bool
fn ne(&self, other: &SynthesizeSpeechOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SynthesizeSpeechOutput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more