pub struct ReportConfig {Show 16 fields
pub provider: ProviderKind,
pub model: Option<String>,
pub ollama_host: String,
pub allow_nonlocal_ollama_host: bool,
pub ollama_timeout_secs: u64,
pub ollama_keep_alive: Option<String>,
pub ollama_dimensions: Option<usize>,
pub ollama_truncate: bool,
pub model_cache_dir: Option<PathBuf>,
pub native_threads: Option<usize>,
pub threshold: f32,
pub top_k: usize,
pub min_lines: usize,
pub min_tokens: usize,
pub cache_dir: Option<PathBuf>,
pub allow_source_upload: bool,
}Fields§
§provider: ProviderKind§model: Option<String>§ollama_host: String§allow_nonlocal_ollama_host: bool§ollama_timeout_secs: u64§ollama_keep_alive: Option<String>§ollama_dimensions: Option<usize>§ollama_truncate: bool§model_cache_dir: Option<PathBuf>§native_threads: Option<usize>§threshold: f32§top_k: usize§min_lines: usize§min_tokens: usize§cache_dir: Option<PathBuf>§allow_source_upload: boolTrait Implementations§
Source§impl Clone for ReportConfig
impl Clone for ReportConfig
Source§fn clone(&self) -> ReportConfig
fn clone(&self) -> ReportConfig
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 ReportConfig
impl Debug for ReportConfig
Auto Trait Implementations§
impl Freeze for ReportConfig
impl RefUnwindSafe for ReportConfig
impl Send for ReportConfig
impl Sync for ReportConfig
impl Unpin for ReportConfig
impl UnsafeUnpin for ReportConfig
impl UnwindSafe for ReportConfig
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