diff --git a/bots/bots.rs b/bots/bots.rs index a27c2cf..d155c92 100644 --- a/bots/bots.rs +++ b/bots/bots.rs @@ -2,62 +2,62 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct BotResponse { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(int64, tag="2")] - [serde(rename = "TimeID")] + #[serde(rename = "TimeID")] pub time_id: i64, #[prost(int64, tag="3")] pub date: i64, #[prost(string, tag="4")] - [serde(rename = "FileID")] + #[serde(rename = "FileID")] pub file_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct BotRequest { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(int64, optional, tag="2")] - [serde(rename = "TimeID")] + #[serde(rename = "TimeID")] pub time_id: ::core::option::Option, #[prost(int64, optional, tag="3")] pub date: ::core::option::Option, #[prost(string, optional, tag="4")] - [serde(rename = "FileID")] + #[serde(rename = "FileID")] pub file_id: ::core::option::Option<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct BotList { #[prost(message, repeated, tag="1")] pub bots: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -66,7 +66,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -75,7 +75,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("bots.tonic.rs"); diff --git a/datastore/datastore.rs b/datastore/datastore.rs index 55f506c..09c7229 100644 --- a/datastore/datastore.rs +++ b/datastore/datastore.rs @@ -2,14 +2,14 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct KeyMessage { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UpdateMessage { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, @@ -20,7 +20,7 @@ pub struct UpdateMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ObjectResponse { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, @@ -29,7 +29,7 @@ pub struct ObjectResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("datastore.tonic.rs"); diff --git a/events/events.rs b/events/events.rs index 7837632..82c1fdd 100644 --- a/events/events.rs +++ b/events/events.rs @@ -2,14 +2,14 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct EventCreate { #[prost(string, tag="1")] pub event: ::prost::alloc::string::String, #[prost(string, tag="2")] pub server: ::prost::alloc::string::String, #[prost(int32, tag="3")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int64, tag="4")] pub date: i64, @@ -18,17 +18,17 @@ pub struct EventCreate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct EventItem { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, tag="2")] pub event: ::prost::alloc::string::String, #[prost(string, tag="3")] pub server: ::prost::alloc::string::String, #[prost(int32, tag="4")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int64, tag="5")] pub date: i64, @@ -37,7 +37,7 @@ pub struct EventItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct LatestRequest { #[prost(int64, optional, tag="1")] pub date: ::core::option::Option, @@ -46,7 +46,7 @@ pub struct LatestRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -55,14 +55,14 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct LatestResponse { #[prost(message, repeated, tag="1")] pub events: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("events.tonic.rs"); diff --git a/maps/maps.rs b/maps/maps.rs index 4e30824..324b50f 100644 --- a/maps/maps.rs +++ b/maps/maps.rs @@ -2,79 +2,79 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct MapResponse { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, #[prost(string, tag="3")] pub creator: ::prost::alloc::string::String, #[prost(int32, tag="4")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int64, tag="5")] pub date: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct MapRequest { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, optional, tag="2")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="3")] pub creator: ::core::option::Option<::prost::alloc::string::String>, #[prost(int32, optional, tag="4")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct MapFilter { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, optional, tag="2")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="3")] pub creator: ::core::option::Option<::prost::alloc::string::String>, #[prost(int32, optional, tag="4")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct MapList { #[prost(message, repeated, tag="1")] pub maps: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -83,7 +83,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -92,7 +92,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("maps.tonic.rs"); diff --git a/ranks/ranks.rs b/ranks/ranks.rs index 1cefd73..f319b49 100644 --- a/ranks/ranks.rs +++ b/ranks/ranks.rs @@ -2,77 +2,77 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct GetRequest { #[prost(int64, tag="1")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: i64, #[prost(int32, tag="2")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: i32, #[prost(int32, tag="3")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int32, tag="4")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: i32, #[prost(int32, repeated, tag="5")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(int32, tag="1")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: i32, #[prost(int32, tag="2")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int32, tag="3")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: i32, #[prost(int64, tag="4")] pub sort: i64, #[prost(int32, repeated, tag="5")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="6")] pub page: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct RankList { #[prost(message, repeated, tag="1")] pub ranks: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct RankMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(message, optional, tag="2")] pub user: ::core::option::Option, #[prost(int32, tag="3")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: i32, #[prost(int32, tag="4")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: i32, #[prost(int32, tag="5")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(double, tag="6")] pub rank: f64, @@ -83,7 +83,7 @@ pub struct RankMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -92,7 +92,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("ranks.tonic.rs"); diff --git a/servers/servers.rs b/servers/servers.rs index 955d5bc..35e4014 100644 --- a/servers/servers.rs +++ b/servers/servers.rs @@ -2,39 +2,39 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerList { #[prost(message, repeated, tag="1")] pub servers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerCreate { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, tag="2")] - [serde(rename = "PlaceID")] + #[serde(rename = "PlaceID")] pub place_id: i64, #[prost(int64, tag="3")] pub start_time: i64, #[prost(string, tag="4")] - [serde(rename = "VipServerID")] + #[serde(rename = "VipServerID")] pub vip_server_id: ::prost::alloc::string::String, #[prost(int64, tag="5")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: i64, #[prost(int32, tag="6")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(int64, tag="7")] pub map_id: i64, @@ -47,23 +47,23 @@ pub struct ServerCreate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerItem { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, tag="2")] - [serde(rename = "PlaceID")] + #[serde(rename = "PlaceID")] pub place_id: i64, #[prost(int64, tag="3")] pub start_time: i64, #[prost(string, tag="4")] - [serde(rename = "VipServerID")] + #[serde(rename = "VipServerID")] pub vip_server_id: ::prost::alloc::string::String, #[prost(message, optional, tag="5")] pub user: ::core::option::Option, #[prost(int32, tag="6")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, #[prost(message, optional, tag="7")] pub map: ::core::option::Option, @@ -76,10 +76,10 @@ pub struct ServerItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerUpdate { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, optional, tag="2")] pub map_id: ::core::option::Option, @@ -90,29 +90,29 @@ pub struct ServerUpdate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerFilter { #[prost(string, optional, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::core::option::Option<::prost::alloc::string::String>, #[prost(int64, optional, tag="2")] - [serde(rename = "PlaceID")] + #[serde(rename = "PlaceID")] pub place_id: ::core::option::Option, #[prost(string, optional, tag="4")] - [serde(rename = "VipServerID")] + #[serde(rename = "VipServerID")] pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(int64, optional, tag="5")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int32, optional, tag="6")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: ::core::option::Option, #[prost(int64, optional, tag="7")] pub map_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -121,7 +121,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ServerListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -130,7 +130,7 @@ pub struct ServerListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("servers.tonic.rs"); diff --git a/times/times.rs b/times/times.rs index 1eba49d..e2d3fe9 100644 --- a/times/times.rs +++ b/times/times.rs @@ -2,62 +2,62 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TimeRequest { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(int64, optional, tag="2")] pub time: ::core::option::Option, #[prost(int64, optional, tag="3")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, #[prost(int32, optional, tag="6")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: ::core::option::Option, #[prost(int32, optional, tag="7")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: ::core::option::Option, #[prost(int32, optional, tag="8")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TimeFilter { #[prost(int64, optional, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::core::option::Option, #[prost(int64, optional, tag="2")] pub time: ::core::option::Option, #[prost(int64, optional, tag="3")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, #[prost(int32, optional, tag="6")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: ::core::option::Option, #[prost(int32, optional, tag="7")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: ::core::option::Option, #[prost(int32, optional, tag="8")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TimeResponse { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(int64, tag="2")] pub time: i64, @@ -70,26 +70,26 @@ pub struct TimeResponse { #[prost(int64, tag="6")] pub date: i64, #[prost(int32, tag="7")] - [serde(rename = "StyleID")] + #[serde(rename = "StyleID")] pub style_id: i32, #[prost(int32, tag="8")] - [serde(rename = "ModeID")] + #[serde(rename = "ModeID")] pub mode_id: i32, #[prost(int32, tag="9")] - [serde(rename = "GameID")] + #[serde(rename = "GameID")] pub game_id: i32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TimeList { #[prost(message, repeated, tag="1")] pub times: ::prost::alloc::vec::Vec, @@ -98,14 +98,14 @@ pub struct TimeList { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct RankResponse { #[prost(int64, tag="1")] pub rank: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -123,7 +123,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -132,7 +132,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("times.tonic.rs"); diff --git a/transactions/transactions.rs b/transactions/transactions.rs index 2fa11d8..c186230 100644 --- a/transactions/transactions.rs +++ b/transactions/transactions.rs @@ -2,50 +2,50 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TransactionCreate { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, tag="2")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: i64, #[prost(int64, tag="3")] pub value: i64, #[prost(int32, tag="4")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: i32, #[prost(message, optional, tag="5")] pub data: ::core::option::Option<::prost_types::Struct>, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TransactionUpdate { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(int64, optional, tag="2")] pub value: ::core::option::Option, #[prost(int64, optional, tag="3")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::core::option::Option, #[prost(message, optional, tag="4")] pub data: ::core::option::Option<::prost_types::Struct>, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TransactionItem { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, #[prost(message, optional, tag="2")] pub user: ::core::option::Option, #[prost(int64, tag="3")] pub value: i64, #[prost(int32, tag="4")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: i32, #[prost(int64, tag="5")] pub created: i64, @@ -56,18 +56,18 @@ pub struct TransactionItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TransactionFilter { #[prost(int64, optional, tag="1")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int32, optional, tag="2")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -76,7 +76,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -85,37 +85,37 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct TransactionList { #[prost(message, repeated, tag="1")] pub transactions: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct BalanceResponse { #[prost(int64, tag="1")] pub balance: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(string, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UserIdMessage { #[prost(int64, tag="1")] - [serde(rename = "UserID")] + #[serde(rename = "UserID")] pub user_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("transactions.tonic.rs"); diff --git a/users/users.rs b/users/users.rs index 86714a1..e95aa5d 100644 --- a/users/users.rs +++ b/users/users.rs @@ -2,69 +2,69 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UserResponse { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, tag="2")] pub username: ::prost::alloc::string::String, #[prost(int32, tag="3")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: i32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UserRequest { #[prost(int64, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: i64, #[prost(string, optional, tag="2")] pub username: ::core::option::Option<::prost::alloc::string::String>, #[prost(int32, optional, tag="3")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UserFilter { #[prost(int64, optional, tag="1")] - [serde(rename = "ID")] + #[serde(rename = "ID")] pub id: ::core::option::Option, #[prost(string, optional, tag="2")] pub username: ::core::option::Option<::prost::alloc::string::String>, #[prost(int32, optional, tag="3")] - [serde(rename = "StateID")] + #[serde(rename = "StateID")] pub state_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct UserList { #[prost(message, repeated, tag="1")] pub users: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -73,7 +73,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -82,7 +82,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +##[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("users.tonic.rs");