Skip to content

Commit

Permalink
set telemetry content field name as entries with serde(rename) instea…
Browse files Browse the repository at this point in the history
…d of serde(rename) for serializer compatibility
  • Loading branch information
sksat committed Dec 5, 2024
1 parent 79312b6 commit 489302f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tlmcmddb/src/tlm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 489302f

Please sign in to comment.