pub struct QdrantConfig {
pub url: String,
pub api_key: Option<String>,
pub collection_prefix: String,
pub vector_dimension: u32,
pub hnsw_enabled: bool,
}Expand description
Qdrant vector database configuration.
Fields§
§url: StringQdrant server URL
api_key: Option<String>API key for authentication (optional)
collection_prefix: StringCollection name prefix
vector_dimension: u32Vector dimension (must match embedding model)
hnsw_enabled: boolEnable HNSW indexing
Trait Implementations§
Source§impl Clone for QdrantConfig
impl Clone for QdrantConfig
Source§fn clone(&self) -> QdrantConfig
fn clone(&self) -> QdrantConfig
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 QdrantConfig
impl Debug for QdrantConfig
Source§impl Default for QdrantConfig
impl Default for QdrantConfig
Source§impl<'de> Deserialize<'de> for QdrantConfigwhere
QdrantConfig: Default,
impl<'de> Deserialize<'de> for QdrantConfigwhere
QdrantConfig: 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 QdrantConfig
impl RefUnwindSafe for QdrantConfig
impl Send for QdrantConfig
impl Sync for QdrantConfig
impl Unpin for QdrantConfig
impl UnwindSafe for QdrantConfig
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