From e2b5495da649160308dee3366b5c674fd6bee46a Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 30 Jul 2023 20:25:59 +0200 Subject: [PATCH] lowercase baotdamage --- src/model/boat.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/boat.rs b/src/model/boat.rs index a5e30dc..11fa625 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -20,6 +20,7 @@ pub struct Boat { } #[derive(Serialize, Deserialize)] +#[serde(rename_all = "lowercase")] pub enum BoatDamage { None, Light,