19 lines
511 B
Rust
Raw Normal View History

2023-06-26 12:21:40 +02:00
use serde::{Deserialize, Serialize};
2023-07-06 14:20:58 +02:00
#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default, PartialEq, Eq)]
2023-06-26 12:21:40 +02:00
#[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,
2023-06-26 12:21:40 +02:00
}
#[derive(Default, Debug, Clone, Copy)]
pub struct InstanceTogglableFeatures {
pub metrics: bool,
pub logs_route: bool,
pub contains_filter: bool,
2023-06-26 12:21:40 +02:00
}