Rewrite to a API trait.

This commit is contained in:
2026-01-11 14:12:54 +01:00
parent ea9f05b048
commit 88f8cf76ef
45 changed files with 1384 additions and 1030 deletions

View File

@@ -17,6 +17,8 @@ pub struct Gamenight {
pub id: String,
#[serde(rename = "name")]
pub name: String,
#[serde(rename = "location_id", skip_serializing_if = "Option::is_none")]
pub location_id: Option<String>,
#[serde(rename = "datetime")]
pub datetime: String,
#[serde(rename = "owner_id")]
@@ -28,6 +30,7 @@ impl Gamenight {
Gamenight {
id,
name,
location_id: None,
datetime,
owner_id,
}