mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 11:35:05 +08:00
19 lines
511 B
Rust
19 lines
511 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,
|
|
pub edit_documents_by_function: bool,
|
|
pub contains_filter: bool,
|
|
}
|
|
|
|
#[derive(Default, Debug, Clone, Copy)]
|
|
pub struct InstanceTogglableFeatures {
|
|
pub metrics: bool,
|
|
pub logs_route: bool,
|
|
pub contains_filter: bool,
|
|
}
|