2023-06-26 18:21:40 +08:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
2023-07-06 20:20:58 +08:00
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default, PartialEq, Eq)]
|
2023-06-26 18:21:40 +08:00
|
|
|
#[serde(rename_all = "camelCase", default)]
|
|
|
|
pub struct RuntimeTogglableFeatures {
|
|
|
|
pub score_details: bool,
|
|
|
|
pub vector_store: bool,
|
2023-10-14 06:12:54 +08:00
|
|
|
pub metrics: bool,
|
2023-09-25 20:28:54 +08:00
|
|
|
pub export_puffin_reports: bool,
|
2023-12-06 21:47:34 +08:00
|
|
|
pub proximity_precision: bool,
|
2023-06-26 18:21:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Default, Debug, Clone, Copy)]
|
|
|
|
pub struct InstanceTogglableFeatures {
|
|
|
|
pub metrics: bool,
|
|
|
|
}
|