pub struct SttOptions {
pub language: Option<String>,
pub diarize: bool,
pub word_timestamps: bool,
pub smart_format: bool,
pub model_hint: Option<String>,
}Available on crate feature
audio only.Expand description
Options for speech-to-text transcription.
Fields§
§language: Option<String>Optional BCP-47 language hint.
diarize: boolEnable speaker diarization.
word_timestamps: boolInclude per-word timestamps.
smart_format: boolApply smart formatting (punctuation, casing).
model_hint: Option<String>Optional model hint for the provider.
Trait Implementations§
Source§impl Clone for SttOptions
impl Clone for SttOptions
Source§fn clone(&self) -> SttOptions
fn clone(&self) -> SttOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SttOptions
impl Debug for SttOptions
Source§impl Default for SttOptions
impl Default for SttOptions
Source§fn default() -> SttOptions
fn default() -> SttOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SttOptions
impl RefUnwindSafe for SttOptions
impl Send for SttOptions
impl Sync for SttOptions
impl Unpin for SttOptions
impl UnsafeUnpin for SttOptions
impl UnwindSafe for SttOptions
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