mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 16:45:30 +08:00
15 lines
392 B
Rust
15 lines
392 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default, PartialEq, Eq)]
|
|
#[serde(rename_all = "camelCase", default)]
|
|
pub struct RuntimeTogglableFeatures {
|
|
pub vector_store: bool,
|
|
pub metrics: bool,
|
|
pub export_puffin_reports: bool,
|
|
}
|
|
|
|
#[derive(Default, Debug, Clone, Copy)]
|
|
pub struct InstanceTogglableFeatures {
|
|
pub metrics: bool,
|
|
}
|