diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-22 01:52:31 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-22 01:52:31 +0100 |
commit | bd1f7227a1fd5de7723ba129d3206e2f3f334ed9 (patch) | |
tree | 244cee039d440e8caf8ffa8cea4361f94132b66e /src/message.rs | |
parent | 893f0142f7c0d5e527d2f8ddd9bc12a95a727d5d (diff) | |
download | sentrum-bd1f7227a1fd5de7723ba129d3206e2f3f334ed9.tar.gz sentrum-bd1f7227a1fd5de7723ba129d3206e2f3f334ed9.tar.bz2 sentrum-bd1f7227a1fd5de7723ba129d3206e2f3f334ed9.zip |
Add missing deserialization lowercase rename
For MessageFormat
Diffstat (limited to 'src/message.rs')
-rw-r--r-- | src/message.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |