pub enum InputAudioFormat {
Mp3,
Wav,
}
Expand description
The format of the audio data. Currently supported formats are mp3
and
wav
.
Variants§
Trait Implementations§
Source§impl Clone for InputAudioFormat
impl Clone for InputAudioFormat
Source§fn clone(&self) -> InputAudioFormat
fn clone(&self) -> InputAudioFormat
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 Debug for InputAudioFormat
impl Debug for InputAudioFormat
Source§impl<'de> Deserialize<'de> for InputAudioFormat
impl<'de> Deserialize<'de> for InputAudioFormat
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 InputAudioFormat
impl PartialEq for InputAudioFormat
Source§impl Serialize for InputAudioFormat
impl Serialize for InputAudioFormat
impl Copy for InputAudioFormat
impl StructuralPartialEq for InputAudioFormat
Auto Trait Implementations§
impl Freeze for InputAudioFormat
impl RefUnwindSafe for InputAudioFormat
impl Send for InputAudioFormat
impl Sync for InputAudioFormat
impl Unpin for InputAudioFormat
impl UnwindSafe for InputAudioFormat
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