Skip to content

Commit

Permalink
Merge pull request #254 from sij1nk/serde-rename-tabletbelongsto
Browse files Browse the repository at this point in the history
Fix TabletBelongsTo deserialization
  • Loading branch information
yavko authored Aug 4, 2024
2 parents 2b13602 + 3fd4aa7 commit 9e3b78d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/regular.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ pub enum TabletType {

/// A enum to match what the tablet belongs to
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(untagged)]
pub enum TabletBelongsTo {
/// The belongsTo data if the tablet is of type TabletPad
TabletPad {
Expand Down

0 comments on commit 9e3b78d

Please sign in to comment.