From 489302f2da4113e1732771a77bf18cd7a20d31d4 Mon Sep 17 00:00:00 2001 From: sksat Date: Thu, 5 Dec 2024 15:46:09 +0900 Subject: [PATCH] set telemetry content field name as entries with serde(rename) instead of serde(rename) for serializer compatibility --- tlmcmddb/src/tlm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tlmcmddb/src/tlm.rs b/tlmcmddb/src/tlm.rs index d8b48b1..f35f2ca 100644 --- a/tlmcmddb/src/tlm.rs +++ b/tlmcmddb/src/tlm.rs @@ -15,8 +15,8 @@ pub struct Telemetry { /// このテレメトリ定義のメタデータ pub metadata: Metadata, /// このテレメトリの構造定義 - /// blobが追加される前との互換性のため、entriesをaliasとする - #[serde(alias = "entries")] + /// blobが追加される前との互換性のため、entriesに rename する + #[serde(rename = "entries")] pub content: Content, }