pub struct SourcesGlobalConfig {
pub poll_interval_secs: u64,
pub max_chunks_per_sync: usize,
pub max_parallel_sources: usize,
pub default_weight: f32,
pub embedding_batch_size: usize,
}Fields§
§poll_interval_secs: u64Polling interval for cloud sources (seconds).
max_chunks_per_sync: usizeSafety cap: do not sync more than this many chunks per run.
max_parallel_sources: usizeUpper bound on parallel source sync tasks.
default_weight: f32Weight applied to new sources unless overridden.
embedding_batch_size: usizeEmbedding request batch size.
Trait Implementations§
Source§impl Clone for SourcesGlobalConfig
impl Clone for SourcesGlobalConfig
Source§fn clone(&self) -> SourcesGlobalConfig
fn clone(&self) -> SourcesGlobalConfig
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 SourcesGlobalConfig
impl Debug for SourcesGlobalConfig
Source§impl Default for SourcesGlobalConfig
impl Default for SourcesGlobalConfig
Source§impl<'de> Deserialize<'de> for SourcesGlobalConfig
impl<'de> Deserialize<'de> for SourcesGlobalConfig
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 SourcesGlobalConfig
impl RefUnwindSafe for SourcesGlobalConfig
impl Send for SourcesGlobalConfig
impl Sync for SourcesGlobalConfig
impl Unpin for SourcesGlobalConfig
impl UnsafeUnpin for SourcesGlobalConfig
impl UnwindSafe for SourcesGlobalConfig
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