Use serde's default annotation for Document
This commit is contained in:
parent
d29441bf02
commit
458025b8bf
7 changed files with 194 additions and 67 deletions
|
|
@ -80,9 +80,12 @@ pub struct Config {
|
|||
#[document(default = "`alphabet`")]
|
||||
pub rooms_sort_order: RoomsSortOrder,
|
||||
|
||||
#[serde(default)]
|
||||
#[document(no_default)]
|
||||
pub euph: Euph,
|
||||
|
||||
#[serde(default)]
|
||||
#[document(no_default)]
|
||||
pub keys: Keys,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue