mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-02 17:45:46 +01:00
16 lines
407 B
Rust
16 lines
407 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 logs_route: bool,
|
|
}
|
|
|
|
#[derive(Default, Debug, Clone, Copy)]
|
|
pub struct InstanceTogglableFeatures {
|
|
pub metrics: bool,
|
|
pub logs_route: bool,
|
|
}
|