pub struct FallbackTalkscriberTranscriber {
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub language: Option<LanguageTrue>,
}
Fields§
§provider: ProviderTrue
This is the transcription provider that will be used.
model: Option<ModelTrue>
This is the model that will be used for the transcription.
language: Option<LanguageTrue>
This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py
Implementations§
Source§impl FallbackTalkscriberTranscriber
impl FallbackTalkscriberTranscriber
pub fn new(provider: ProviderTrue) -> FallbackTalkscriberTranscriber
Trait Implementations§
Source§impl Clone for FallbackTalkscriberTranscriber
impl Clone for FallbackTalkscriberTranscriber
Source§fn clone(&self) -> FallbackTalkscriberTranscriber
fn clone(&self) -> FallbackTalkscriberTranscriber
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 FallbackTalkscriberTranscriber
impl Default for FallbackTalkscriberTranscriber
Source§fn default() -> FallbackTalkscriberTranscriber
fn default() -> FallbackTalkscriberTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackTalkscriberTranscriber
impl<'de> Deserialize<'de> for FallbackTalkscriberTranscriber
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 FallbackTalkscriberTranscriber
impl PartialEq for FallbackTalkscriberTranscriber
Source§fn eq(&self, other: &FallbackTalkscriberTranscriber) -> bool
fn eq(&self, other: &FallbackTalkscriberTranscriber) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FallbackTalkscriberTranscriber
Auto Trait Implementations§
impl Freeze for FallbackTalkscriberTranscriber
impl RefUnwindSafe for FallbackTalkscriberTranscriber
impl Send for FallbackTalkscriberTranscriber
impl Sync for FallbackTalkscriberTranscriber
impl Unpin for FallbackTalkscriberTranscriber
impl UnwindSafe for FallbackTalkscriberTranscriber
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