From bd1f7227a1fd5de7723ba129d3206e2f3f334ed9 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Mon, 22 Apr 2024 01:52:31 +0100 Subject: Add missing deserialization lowercase rename For MessageFormat --- src/message.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/message.rs') diff --git a/src/message.rs b/src/message.rs index 419bb4d..14973bf 100644 --- a/src/message.rs +++ b/src/message.rs @@ -80,6 +80,7 @@ impl<'a, 'b> MessageParams<'a, 'b> { } #[derive(Deserialize, Debug, PartialEq, Copy, Clone)] +#[serde(rename_all = "lowercase")] pub enum MessageFormat { Plain, Markdown, -- cgit v1.2.3-70-g09d2