qdrant-edge 0.8.0

A lightweight, in-process vector search engine designed for embedded devices, autonomous systems, and mobile agents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The [`Encodable`] bound shared by every numeric-index storage variant's
//! key type.

use serde::Serialize;
use serde::de::DeserializeOwned;

use crate::segment::types::{DateTimePayloadType, FloatPayloadType, IntPayloadType};

pub trait Encodable: Copy + Serialize + DeserializeOwned + 'static {}

impl Encodable for IntPayloadType {}

impl Encodable for u128 {}

impl Encodable for FloatPayloadType {}

impl Encodable for DateTimePayloadType {}