chore (backend-rs): add serde attribute
This is redundant though
This commit is contained in:
parent
0517a83dc5
commit
64581d2088
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ pub struct ServerConfig {
|
|||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[crate::export(object, use_nullable = false)]
|
||||
pub struct DbConfig {
|
||||
pub host: String,
|
||||
|
@ -70,6 +71,7 @@ pub struct DbConfig {
|
|||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[crate::export(object, use_nullable = false)]
|
||||
pub struct RedisConfig {
|
||||
pub host: String,
|
||||
|
|
Loading…
Reference in a new issue