mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-12 06:16:29 +01:00
14 lines
361 B
Rust
14 lines
361 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default, PartialEq, Eq)]
|
|
#[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,
|
|
}
|