switched from Duration struct to u64

This commit is contained in:
Djairo Hougee 2023-05-10 14:39:50 +02:00
parent 01bd29d021
commit 645622a902
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ impl Default for Rating {
pub struct Config { pub struct Config {
pub metadata_separator: String, pub metadata_separator: String,
pub array_separator: char, pub array_separator: char,
pub update_delay: u64,
pub hide_output: bool, pub hide_output: bool,
pub fuzzy: bool, pub fuzzy: bool,
pub render_prefix: bool, pub render_prefix: bool,
@ -58,7 +59,7 @@ pub struct Config {
pub rating_icons: Rating, pub rating_icons: Rating,
pub metadata_fields: Vec<Field>, pub metadata_fields: Vec<Field>,
pub player_prefixes: HashMap<String, char>, pub player_prefixes: HashMap<String, char>,
pub update_delay: u64,
} }
impl Default for Config { impl Default for Config {