summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/common.rs12
-rw-r--r--src/function.rs7
2 files changed, 0 insertions, 19 deletions
diff --git a/src/client/common.rs b/src/client/common.rs
index 1055b84..4ff476b 100644
--- a/src/client/common.rs
+++ b/src/client/common.rs
@@ -51,18 +51,6 @@ macro_rules! register_client {
Unknown,
}
- #[derive(Debug, Clone, serde::Deserialize)]
- #[serde(tag = "type")]
- pub enum ClientModel {
- $(
- #[serde(rename = $name)]
- $config { models: Vec<ModelData> },
- )+
- #[serde(other)]
- Unknown,
- }
-
-
$(
#[derive(Debug)]
pub struct $client {
diff --git a/src/function.rs b/src/function.rs
index b763dc2..b2833e8 100644
--- a/src/function.rs
+++ b/src/function.rs
@@ -107,13 +107,6 @@ impl Functions {
}
}
-#[derive(Debug, Clone, Deserialize)]
-pub struct FunctionConfig {
- pub enable: bool,
- pub declarations_file: String,
- pub functions_dir: String,
-}
-
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FunctionDeclaration {
pub name: String,