pub struct QdrantConfig {
pub url: String,
pub collection: String,
pub create_collection: bool,
pub http: HttpSettings,
}Expand description
Qdrant connection settings.
Fields§
§url: Stringe.g. http://localhost:6333.
collection: String§create_collection: boolCreate the collection (cosine distance) on first upsert when missing.
http: HttpSettingsAPI key, sent as the api-key header.
Trait Implementations§
Source§impl Clone for QdrantConfig
impl Clone for QdrantConfig
Source§impl Debug for QdrantConfig
impl Debug for QdrantConfig
Source§impl<'de> Deserialize<'de> for QdrantConfig
impl<'de> Deserialize<'de> for QdrantConfig
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
Source§impl PartialEq for QdrantConfig
impl PartialEq for QdrantConfig
Source§impl Serialize for QdrantConfig
impl Serialize for QdrantConfig
impl StructuralPartialEq for QdrantConfig
Auto Trait Implementations§
impl Forget for QdrantConfig
impl Freeze for QdrantConfig
impl Move for QdrantConfig
impl RefUnwindSafe for QdrantConfig
impl Send for QdrantConfig
impl Sync for QdrantConfig
impl Unpin for QdrantConfig
impl UnsafeUnpin 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