Adding format to select between normal, clean and JSON. This needs some refactor

This commit is contained in:
2023-06-13 18:38:32 +02:00
parent 9978e1553b
commit 8a3e5783c2
10 changed files with 507 additions and 306 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
use serde::{Deserialize, Serialize};
use structopt::clap::arg_enum;
arg_enum! {
#[derive(Debug)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
pub enum SpeedUnit {
Kmh,
Ms,