pub struct SemanticConfig {
pub enabled: bool,
pub auto_download_models: bool,
pub active_profile: SemanticProfile,
pub max_pending_jobs: usize,
pub query_timeout_ms: u64,
}Expand description
Semantic search configuration.
Fields§
§enabled: bool§auto_download_models: bool§active_profile: SemanticProfile§max_pending_jobs: usize§query_timeout_ms: u64Trait Implementations§
Source§impl Clone for SemanticConfig
impl Clone for SemanticConfig
Source§fn clone(&self) -> SemanticConfig
fn clone(&self) -> SemanticConfig
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 SemanticConfig
impl Debug for SemanticConfig
Source§impl Default for SemanticConfig
impl Default for SemanticConfig
Source§impl<'de> Deserialize<'de> for SemanticConfigwhere
SemanticConfig: Default,
impl<'de> Deserialize<'de> for SemanticConfigwhere
SemanticConfig: Default,
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 SemanticConfig
impl RefUnwindSafe for SemanticConfig
impl Send for SemanticConfig
impl Sync for SemanticConfig
impl Unpin for SemanticConfig
impl UnsafeUnpin for SemanticConfig
impl UnwindSafe for SemanticConfig
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