pub enum TranscriptionBackend {
OpenAI,
Local,
}Expand description
Transcription backend to use.
Variants§
OpenAI
Use OpenAI’s Whisper API (requires API key)
Local
Use local Whisper model (requires local-whisper feature)
Trait Implementations§
Source§impl Clone for TranscriptionBackend
impl Clone for TranscriptionBackend
Source§fn clone(&self) -> TranscriptionBackend
fn clone(&self) -> TranscriptionBackend
Returns a duplicate 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 TranscriptionBackend
impl Debug for TranscriptionBackend
Source§impl Default for TranscriptionBackend
impl Default for TranscriptionBackend
Source§impl<'de> Deserialize<'de> for TranscriptionBackend
impl<'de> Deserialize<'de> for TranscriptionBackend
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 TranscriptionBackend
impl PartialEq for TranscriptionBackend
Source§impl Serialize for TranscriptionBackend
impl Serialize for TranscriptionBackend
impl Eq for TranscriptionBackend
impl StructuralPartialEq for TranscriptionBackend
Auto Trait Implementations§
impl Freeze for TranscriptionBackend
impl RefUnwindSafe for TranscriptionBackend
impl Send for TranscriptionBackend
impl Sync for TranscriptionBackend
impl Unpin for TranscriptionBackend
impl UnwindSafe for TranscriptionBackend
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.