pub enum SettingsAction {
Show 20 variants
SetTheme(Theme),
SetDefaultTimeout(u32),
SetOutputFormat(OutputFormat),
SetIncludeMetadata(bool),
SetHistoryRetention(u32),
CompleteOnboarding,
SetEmbeddingProvider(EmbeddingProvider),
SetEmbeddingModel(String),
SetVectorBackend(VectorBackend),
SetEnableHybrid(bool),
SetEnableReranking(bool),
SetQdrantUrl(Option<String>),
SetOllamaUrl(Option<String>),
SetApiBaseUrl(String),
SetApiTimeout(u32),
SetKeyboardShortcuts(bool),
SetExpandParameters(bool),
SetAutoRefreshInterval(u32),
ResetToDefaults,
ResetSearchSettings,
}Expand description
Settings store actions
Variants§
SetTheme(Theme)
SetDefaultTimeout(u32)
SetOutputFormat(OutputFormat)
SetIncludeMetadata(bool)
SetHistoryRetention(u32)
CompleteOnboarding
SetEmbeddingProvider(EmbeddingProvider)
SetEmbeddingModel(String)
SetVectorBackend(VectorBackend)
SetEnableHybrid(bool)
SetEnableReranking(bool)
SetQdrantUrl(Option<String>)
SetOllamaUrl(Option<String>)
SetApiBaseUrl(String)
SetApiTimeout(u32)
SetKeyboardShortcuts(bool)
SetExpandParameters(bool)
SetAutoRefreshInterval(u32)
ResetToDefaults
ResetSearchSettings
Trait Implementations§
Source§impl Reducer<SettingsStore> for SettingsAction
impl Reducer<SettingsStore> for SettingsAction
Source§fn apply(self, store: Rc<SettingsStore>) -> Rc<SettingsStore>
fn apply(self, store: Rc<SettingsStore>) -> Rc<SettingsStore>
Mutate state.
Auto Trait Implementations§
impl Freeze for SettingsAction
impl RefUnwindSafe for SettingsAction
impl Send for SettingsAction
impl Sync for SettingsAction
impl Unpin for SettingsAction
impl UnwindSafe for SettingsAction
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.