pub struct FallbackAssemblyAiTranscriber {
pub provider: Provider,
pub language: Option<Language>,
pub confidence_threshold: Option<f64>,
pub realtime_url: Option<String>,
pub word_boost: Option<Vec<String>>,
pub end_utterance_silence_threshold: Option<f64>,
pub disable_partial_transcripts: Option<bool>,
}Fields§
§provider: ProviderThis is the transcription provider that will be used.
language: Option<Language>This is the language that will be set for the transcription.
confidence_threshold: Option<f64>Transcripts below this confidence threshold will be discarded. @default 0.4
realtime_url: Option<String>The WebSocket URL that the transcriber connects to.
word_boost: Option<Vec<String>>Add up to 2500 characters of custom vocabulary.
end_utterance_silence_threshold: Option<f64>The duration of the end utterance silence threshold in milliseconds.
disable_partial_transcripts: Option<bool>Disable partial transcripts. Set to true to not receive partial transcripts. Defaults to false.
Implementations§
Source§impl FallbackAssemblyAiTranscriber
impl FallbackAssemblyAiTranscriber
pub fn new(provider: Provider) -> FallbackAssemblyAiTranscriber
Trait Implementations§
Source§impl Clone for FallbackAssemblyAiTranscriber
impl Clone for FallbackAssemblyAiTranscriber
Source§fn clone(&self) -> FallbackAssemblyAiTranscriber
fn clone(&self) -> FallbackAssemblyAiTranscriber
Returns a copy 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 Default for FallbackAssemblyAiTranscriber
impl Default for FallbackAssemblyAiTranscriber
Source§fn default() -> FallbackAssemblyAiTranscriber
fn default() -> FallbackAssemblyAiTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackAssemblyAiTranscriber
impl<'de> Deserialize<'de> for FallbackAssemblyAiTranscriber
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 FallbackAssemblyAiTranscriber
impl PartialEq for FallbackAssemblyAiTranscriber
Source§fn eq(&self, other: &FallbackAssemblyAiTranscriber) -> bool
fn eq(&self, other: &FallbackAssemblyAiTranscriber) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FallbackAssemblyAiTranscriber
Auto Trait Implementations§
impl Freeze for FallbackAssemblyAiTranscriber
impl RefUnwindSafe for FallbackAssemblyAiTranscriber
impl Send for FallbackAssemblyAiTranscriber
impl Sync for FallbackAssemblyAiTranscriber
impl Unpin for FallbackAssemblyAiTranscriber
impl UnwindSafe for FallbackAssemblyAiTranscriber
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