pub struct AssemblyAiTranscriber {
pub provider: Provider,
pub language: Option<Language>,
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.
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 AssemblyAiTranscriber
impl AssemblyAiTranscriber
pub fn new(provider: Provider) -> AssemblyAiTranscriber
Trait Implementations§
Source§impl Clone for AssemblyAiTranscriber
impl Clone for AssemblyAiTranscriber
Source§fn clone(&self) -> AssemblyAiTranscriber
fn clone(&self) -> AssemblyAiTranscriber
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 Debug for AssemblyAiTranscriber
impl Debug for AssemblyAiTranscriber
Source§impl Default for AssemblyAiTranscriber
impl Default for AssemblyAiTranscriber
Source§fn default() -> AssemblyAiTranscriber
fn default() -> AssemblyAiTranscriber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssemblyAiTranscriber
impl<'de> Deserialize<'de> for AssemblyAiTranscriber
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 AssemblyAiTranscriber
impl PartialEq for AssemblyAiTranscriber
Source§impl Serialize for AssemblyAiTranscriber
impl Serialize for AssemblyAiTranscriber
impl StructuralPartialEq for AssemblyAiTranscriber
Auto Trait Implementations§
impl Freeze for AssemblyAiTranscriber
impl RefUnwindSafe for AssemblyAiTranscriber
impl Send for AssemblyAiTranscriber
impl Sync for AssemblyAiTranscriber
impl Unpin for AssemblyAiTranscriber
impl UnwindSafe for AssemblyAiTranscriber
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