pub enum CreateSpeechRequestStreamFormat {
Sse,
Audio,
}
Expand description
The format to stream the audio in. Supported formats are sse
and audio
. sse
is not supported for tts-1
or tts-1-hd
.
Variants§
Trait Implementations§
Source§impl Clone for CreateSpeechRequestStreamFormat
impl Clone for CreateSpeechRequestStreamFormat
Source§fn clone(&self) -> CreateSpeechRequestStreamFormat
fn clone(&self) -> CreateSpeechRequestStreamFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateSpeechRequestStreamFormat
impl Default for CreateSpeechRequestStreamFormat
Source§fn default() -> CreateSpeechRequestStreamFormat
fn default() -> CreateSpeechRequestStreamFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSpeechRequestStreamFormat
impl<'de> Deserialize<'de> for CreateSpeechRequestStreamFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateSpeechRequestStreamFormat
impl PartialEq for CreateSpeechRequestStreamFormat
Source§fn eq(&self, other: &CreateSpeechRequestStreamFormat) -> bool
fn eq(&self, other: &CreateSpeechRequestStreamFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreateSpeechRequestStreamFormat
impl StructuralPartialEq for CreateSpeechRequestStreamFormat
Auto Trait Implementations§
impl Freeze for CreateSpeechRequestStreamFormat
impl RefUnwindSafe for CreateSpeechRequestStreamFormat
impl Send for CreateSpeechRequestStreamFormat
impl Sync for CreateSpeechRequestStreamFormat
impl Unpin for CreateSpeechRequestStreamFormat
impl UnwindSafe for CreateSpeechRequestStreamFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more