Add meilisearch_types::features module

This commit is contained in:
Louis Dureuil 2023-06-26 12:21:40 +02:00
parent 2d34005965
commit 29ec02d4d4
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default)]
#[serde(rename_all = "camelCase", default)]
pub struct RuntimeTogglableFeatures {
pub score_details: bool,
pub vector_store: bool,
}
#[derive(Default, Debug, Clone, Copy)]
pub struct InstanceTogglableFeatures {
pub metrics: bool,
}