pub struct VectorBackendConfig {
pub backend: String,
pub data_dir: String,
pub max_db_size: u64,
pub url: Option<String>,
pub hnsw: HnswConfig,
}Expand description
Vector backend settings.
Fields§
§backend: StringBackend type: “helix” (default), “qdrant”, “custom”.
data_dir: StringData directory for embedded backends.
max_db_size: u64Maximum database size in bytes (for LMDB map_size).
url: Option<String>External service URL (for qdrant, etc.).
hnsw: HnswConfigHNSW configuration (only used when vector index is HNSW).
Trait Implementations§
Source§impl Clone for VectorBackendConfig
impl Clone for VectorBackendConfig
Source§fn clone(&self) -> VectorBackendConfig
fn clone(&self) -> VectorBackendConfig
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 VectorBackendConfig
impl Debug for VectorBackendConfig
Source§impl Default for VectorBackendConfig
impl Default for VectorBackendConfig
Source§impl<'de> Deserialize<'de> for VectorBackendConfig
impl<'de> Deserialize<'de> for VectorBackendConfig
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 VectorBackendConfig
impl RefUnwindSafe for VectorBackendConfig
impl Send for VectorBackendConfig
impl Sync for VectorBackendConfig
impl Unpin for VectorBackendConfig
impl UnsafeUnpin for VectorBackendConfig
impl UnwindSafe for VectorBackendConfig
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