pub struct RuntimeConfig {
pub max_vectors_per_namespace: Option<u64>,
pub default_index_type: String,
pub cache_enabled: bool,
pub cache_max_size_bytes: u64,
pub rate_limit_enabled: bool,
pub rate_limit_rps: u32,
pub query_timeout_ms: u64,
pub autopilot_enabled: bool,
pub autopilot_dedup_threshold: f32,
pub autopilot_dedup_interval_hours: u64,
pub autopilot_consolidation_interval_hours: u64,
}Expand description
Runtime configuration
Fields§
§max_vectors_per_namespace: Option<u64>§default_index_type: String§cache_enabled: bool§cache_max_size_bytes: u64§rate_limit_enabled: bool§rate_limit_rps: u32§query_timeout_ms: u64§autopilot_enabled: boolWhether AutoPilot background tasks (dedup + consolidation) are enabled
autopilot_dedup_threshold: f32Cosine-similarity threshold for AutoPilot deduplication (0.0–1.0)
autopilot_dedup_interval_hours: u64How often AutoPilot deduplication runs (hours)
autopilot_consolidation_interval_hours: u64How often AutoPilot consolidation runs (hours)
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
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 RuntimeConfig
impl Debug for RuntimeConfig
Source§impl<'de> Deserialize<'de> for RuntimeConfig
impl<'de> Deserialize<'de> for RuntimeConfig
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 RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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