pub struct TalkscriberTranscriber {
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub language: Option<LanguageTrue>,
pub fallback_plan: Option<FallbackTranscriberPlan>,
}
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
fallback_plan: Option<FallbackTranscriberPlan>
This is the plan for voice provider fallbacks in the event that the primary voice provider fails.
Implementations§
Source§impl TalkscriberTranscriber
impl TalkscriberTranscriber
pub fn new(provider: ProviderTrue) -> TalkscriberTranscriber
Trait Implementations§
Source§impl Clone for TalkscriberTranscriber
impl Clone for TalkscriberTranscriber
Source§fn clone(&self) -> TalkscriberTranscriber
fn clone(&self) -> TalkscriberTranscriber
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 TalkscriberTranscriber
impl Debug for TalkscriberTranscriber
Source§impl Default for TalkscriberTranscriber
impl Default for TalkscriberTranscriber
Source§fn default() -> TalkscriberTranscriber
fn default() -> TalkscriberTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TalkscriberTranscriber
impl<'de> Deserialize<'de> for TalkscriberTranscriber
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 TalkscriberTranscriber
impl PartialEq for TalkscriberTranscriber
Source§impl Serialize for TalkscriberTranscriber
impl Serialize for TalkscriberTranscriber
impl StructuralPartialEq for TalkscriberTranscriber
Auto Trait Implementations§
impl Freeze for TalkscriberTranscriber
impl RefUnwindSafe for TalkscriberTranscriber
impl Send for TalkscriberTranscriber
impl Sync for TalkscriberTranscriber
impl Unpin for TalkscriberTranscriber
impl UnwindSafe for TalkscriberTranscriber
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