pub struct AppContextConfig {
pub vocabulary: Vec<String>,
pub mode: Option<DictationMode>,
}Fields§
§vocabulary: Vec<String>Vocabulary terms to bias Whisper toward when this app is focused
mode: Option<DictationMode>Dictation mode to use when this app is focused
Trait Implementations§
Source§impl Clone for AppContextConfig
impl Clone for AppContextConfig
Source§fn clone(&self) -> AppContextConfig
fn clone(&self) -> AppContextConfig
Returns a duplicate 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 AppContextConfig
impl Debug for AppContextConfig
Source§impl Default for AppContextConfig
impl Default for AppContextConfig
Source§fn default() -> AppContextConfig
fn default() -> AppContextConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppContextConfig
impl<'de> Deserialize<'de> for AppContextConfig
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
Auto Trait Implementations§
impl Freeze for AppContextConfig
impl RefUnwindSafe for AppContextConfig
impl Send for AppContextConfig
impl Sync for AppContextConfig
impl Unpin for AppContextConfig
impl UnsafeUnpin for AppContextConfig
impl UnwindSafe for AppContextConfig
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