diff --git a/servers/servers.rs b/servers/servers.rs index 11969f7..8f12710 100644 --- a/servers/servers.rs +++ b/servers/servers.rs @@ -37,6 +37,7 @@ pub struct ServerCreate { #[serde(rename = "GameID")] pub game_id: i32, #[prost(int64, tag="7")] + #[serde(rename = "MapID")] pub map_id: i64, #[prost(int64, tag="8")] pub map_date: i64, @@ -82,6 +83,7 @@ pub struct ServerUpdate { #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, optional, tag="2")] + #[serde(rename = "MapID")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="3")] pub map_date: ::core::option::Option, @@ -108,6 +110,7 @@ pub struct ServerFilter { #[serde(rename = "GameID")] pub game_id: ::core::option::Option, #[prost(int64, optional, tag="7")] + #[serde(rename = "MapID")] pub map_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] diff --git a/times/times.rs b/times/times.rs index 84de474..d6a8cb8 100644 --- a/times/times.rs +++ b/times/times.rs @@ -13,6 +13,7 @@ pub struct TimeRequest { #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] + #[serde(rename = "MapID")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, @@ -39,6 +40,7 @@ pub struct TimeFilter { #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] + #[serde(rename = "MapID")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option,