Enum oaapi::audio::SpeechResponseFormat
source · pub enum SpeechResponseFormat {
Mp3,
Opus,
Aac,
Flac,
}Expand description
The response format of a speech audio.
Variants§
Trait Implementations§
source§impl Clone for SpeechResponseFormat
impl Clone for SpeechResponseFormat
source§fn clone(&self) -> SpeechResponseFormat
fn clone(&self) -> SpeechResponseFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SpeechResponseFormat
impl Debug for SpeechResponseFormat
source§impl Default for SpeechResponseFormat
impl Default for SpeechResponseFormat
source§impl<'de> Deserialize<'de> for SpeechResponseFormat
impl<'de> Deserialize<'de> for SpeechResponseFormat
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 Display for SpeechResponseFormat
impl Display for SpeechResponseFormat
source§impl FromStr for SpeechResponseFormat
impl FromStr for SpeechResponseFormat
source§impl Hash for SpeechResponseFormat
impl Hash for SpeechResponseFormat
source§impl PartialEq for SpeechResponseFormat
impl PartialEq for SpeechResponseFormat
source§fn eq(&self, other: &SpeechResponseFormat) -> bool
fn eq(&self, other: &SpeechResponseFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SpeechResponseFormat
impl Serialize for SpeechResponseFormat
impl Copy for SpeechResponseFormat
impl Eq for SpeechResponseFormat
impl StructuralPartialEq for SpeechResponseFormat
Auto Trait Implementations§
impl RefUnwindSafe for SpeechResponseFormat
impl Send for SpeechResponseFormat
impl Sync for SpeechResponseFormat
impl Unpin for SpeechResponseFormat
impl UnwindSafe for SpeechResponseFormat
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.