pub enum SpeechFormat {
Mp3,
Opus,
Aac,
Flac,
Wav,
Pcm,
}Expand description
The format of the generated audio.
Variants§
Trait Implementations§
Source§impl Clone for SpeechFormat
impl Clone for SpeechFormat
impl Copy for SpeechFormat
Source§impl Debug for SpeechFormat
impl Debug for SpeechFormat
Source§impl<'de> Deserialize<'de> for SpeechFormat
impl<'de> Deserialize<'de> for SpeechFormat
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
Auto Trait Implementations§
impl Freeze for SpeechFormat
impl RefUnwindSafe for SpeechFormat
impl Send for SpeechFormat
impl Sync for SpeechFormat
impl Unpin for SpeechFormat
impl UnsafeUnpin for SpeechFormat
impl UnwindSafe for SpeechFormat
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