chore: clippy and format (#600)

pull/599/head^2
sigoden 3 weeks ago committed by GitHub
parent 8cbc74e9ad
commit c1d39e4621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 {

@ -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,

Loading…
Cancel
Save