Autogenerated update for 423ef695ef...dbec402e18

This commit is contained in:
Quaternions 2024-07-16 20:24:18 +00:00
parent c87ea2701b
commit a412b6da97
8 changed files with 83 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList {
#[prost(int64, repeated, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::vec::Vec<i64>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -12,6 +13,7 @@ pub struct IdList {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -19,12 +21,15 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct BotResponse {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(int64, tag="2")]
[serde(rename = "TimeID")]
pub time_id: i64,
#[prost(int64, tag="3")]
pub date: i64,
#[prost(string, tag="4")]
[serde(rename = "FileID")]
pub file_id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -32,12 +37,15 @@ pub struct BotResponse {
#[serde(rename_all_fields = "PascalCase")]
pub struct BotRequest {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(int64, optional, tag="2")]
[serde(rename = "TimeID")]
pub time_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")]
pub date: ::core::option::Option<i64>,
#[prost(string, optional, tag="4")]
[serde(rename = "FileID")]
pub file_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]

View File

@ -9,6 +9,7 @@ pub struct EventCreate {
#[prost(string, tag="2")]
pub server: ::prost::alloc::string::String,
#[prost(int32, tag="3")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(int64, tag="4")]
pub date: i64,
@ -20,12 +21,14 @@ pub struct EventCreate {
#[serde(rename_all_fields = "PascalCase")]
pub struct EventItem {
#[prost(int64, tag="1")]
[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")]
pub game_id: i32,
#[prost(int64, tag="5")]
pub date: i64,

View File

@ -5,6 +5,7 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList {
#[prost(int64, repeated, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::vec::Vec<i64>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -12,6 +13,7 @@ pub struct IdList {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -19,12 +21,14 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct MapResponse {
#[prost(int64, tag="1")]
[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")]
pub game_id: i32,
#[prost(int64, tag="5")]
pub date: i64,
@ -34,12 +38,14 @@ pub struct MapResponse {
#[serde(rename_all_fields = "PascalCase")]
pub struct MapRequest {
#[prost(int64, tag="1")]
[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")]
pub game_id: ::core::option::Option<i32>,
#[prost(int64, optional, tag="5")]
pub date: ::core::option::Option<i64>,
@ -49,12 +55,14 @@ pub struct MapRequest {
#[serde(rename_all_fields = "PascalCase")]
pub struct MapFilter {
#[prost(int64, tag="1")]
[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")]
pub game_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]

View File

@ -5,6 +5,7 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -12,14 +13,19 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct GetRequest {
#[prost(int64, tag="1")]
[serde(rename = "UserID")]
pub user_id: i64,
#[prost(int32, tag="2")]
[serde(rename = "StyleID")]
pub style_id: i32,
#[prost(int32, tag="3")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(int32, tag="4")]
[serde(rename = "ModeID")]
pub mode_id: i32,
#[prost(int32, repeated, tag="5")]
[serde(rename = "StateID")]
pub state_id: ::prost::alloc::vec::Vec<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -27,14 +33,18 @@ pub struct GetRequest {
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest {
#[prost(int32, tag="1")]
[serde(rename = "StyleID")]
pub style_id: i32,
#[prost(int32, tag="2")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(int32, tag="3")]
[serde(rename = "ModeID")]
pub mode_id: i32,
#[prost(int64, tag="4")]
pub sort: i64,
#[prost(int32, repeated, tag="5")]
[serde(rename = "StateID")]
pub state_id: ::prost::alloc::vec::Vec<i32>,
#[prost(message, optional, tag="6")]
pub page: ::core::option::Option<Pagination>,
@ -51,14 +61,18 @@ pub struct RankList {
#[serde(rename_all_fields = "PascalCase")]
pub struct RankMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(message, optional, tag="2")]
pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int32, tag="3")]
[serde(rename = "StyleID")]
pub style_id: i32,
#[prost(int32, tag="4")]
[serde(rename = "ModeID")]
pub mode_id: i32,
#[prost(int32, tag="5")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(double, tag="6")]
pub rank: f64,

View File

@ -12,6 +12,7 @@ pub struct ServerList {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -19,16 +20,21 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerCreate {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")]
[serde(rename = "PlaceID")]
pub place_id: i64,
#[prost(int64, tag="3")]
pub start_time: i64,
#[prost(string, tag="4")]
[serde(rename = "VipServerID")]
pub vip_server_id: ::prost::alloc::string::String,
#[prost(int64, tag="5")]
[serde(rename = "UserID")]
pub user_id: i64,
#[prost(int32, tag="6")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(int64, tag="7")]
pub map_id: i64,
@ -44,16 +50,20 @@ pub struct ServerCreate {
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerItem {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")]
[serde(rename = "PlaceID")]
pub place_id: i64,
#[prost(int64, tag="3")]
pub start_time: i64,
#[prost(string, tag="4")]
[serde(rename = "VipServerID")]
pub vip_server_id: ::prost::alloc::string::String,
#[prost(message, optional, tag="5")]
pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int32, tag="6")]
[serde(rename = "GameID")]
pub game_id: i32,
#[prost(message, optional, tag="7")]
pub map: ::core::option::Option<super::maps::MapResponse>,
@ -69,6 +79,7 @@ pub struct ServerItem {
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerUpdate {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(int64, optional, tag="2")]
pub map_id: ::core::option::Option<i64>,
@ -82,14 +93,19 @@ pub struct ServerUpdate {
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerFilter {
#[prost(string, optional, tag="1")]
[serde(rename = "ID")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="2")]
[serde(rename = "PlaceID")]
pub place_id: ::core::option::Option<i64>,
#[prost(string, optional, tag="4")]
[serde(rename = "VipServerID")]
pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="5")]
[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")]
[serde(rename = "GameID")]
pub game_id: ::core::option::Option<i32>,
#[prost(int64, optional, tag="7")]
pub map_id: ::core::option::Option<i64>,

View File

@ -5,20 +5,25 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeRequest {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(int64, optional, tag="2")]
pub time: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")]
[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="4")]
pub map_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="5")]
pub date: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")]
[serde(rename = "StyleID")]
pub style_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="7")]
[serde(rename = "ModeID")]
pub mode_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="8")]
[serde(rename = "GameID")]
pub game_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -26,20 +31,25 @@ pub struct TimeRequest {
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeFilter {
#[prost(int64, optional, tag="1")]
[serde(rename = "ID")]
pub id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="2")]
pub time: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")]
[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="4")]
pub map_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="5")]
pub date: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")]
[serde(rename = "StyleID")]
pub style_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="7")]
[serde(rename = "ModeID")]
pub mode_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="8")]
[serde(rename = "GameID")]
pub game_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -47,6 +57,7 @@ pub struct TimeFilter {
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeResponse {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(int64, tag="2")]
pub time: i64,
@ -59,10 +70,13 @@ pub struct TimeResponse {
#[prost(int64, tag="6")]
pub date: i64,
#[prost(int32, tag="7")]
[serde(rename = "StyleID")]
pub style_id: i32,
#[prost(int32, tag="8")]
[serde(rename = "ModeID")]
pub mode_id: i32,
#[prost(int32, tag="9")]
[serde(rename = "GameID")]
pub game_id: i32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -70,6 +84,7 @@ pub struct TimeResponse {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]

View File

@ -5,12 +5,15 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionCreate {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")]
[serde(rename = "UserID")]
pub user_id: i64,
#[prost(int64, tag="3")]
pub value: i64,
#[prost(int32, tag="4")]
[serde(rename = "StateID")]
pub state_id: i32,
#[prost(message, optional, tag="5")]
pub data: ::core::option::Option<::prost_types::Struct>,
@ -20,10 +23,12 @@ pub struct TransactionCreate {
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionUpdate {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(int64, optional, tag="2")]
pub value: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")]
[serde(rename = "StateID")]
pub state_id: ::core::option::Option<i64>,
#[prost(message, optional, tag="4")]
pub data: ::core::option::Option<::prost_types::Struct>,
@ -33,12 +38,14 @@ pub struct TransactionUpdate {
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionItem {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")]
pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int64, tag="3")]
pub value: i64,
#[prost(int32, tag="4")]
[serde(rename = "StateID")]
pub state_id: i32,
#[prost(int64, tag="5")]
pub created: i64,
@ -52,8 +59,10 @@ pub struct TransactionItem {
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionFilter {
#[prost(int64, optional, tag="1")]
[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>,
#[prost(int32, optional, tag="2")]
[serde(rename = "StateID")]
pub state_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -93,6 +102,7 @@ pub struct BalanceResponse {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(string, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -100,6 +110,7 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct UserIdMessage {
#[prost(int64, tag="1")]
[serde(rename = "UserID")]
pub user_id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]

View File

@ -5,6 +5,7 @@
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList {
#[prost(int64, repeated, tag="1")]
[serde(rename = "ID")]
pub id: ::prost::alloc::vec::Vec<i64>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -12,6 +13,7 @@ pub struct IdList {
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -19,10 +21,12 @@ pub struct IdMessage {
#[serde(rename_all_fields = "PascalCase")]
pub struct UserResponse {
#[prost(int64, tag="1")]
[serde(rename = "ID")]
pub id: i64,
#[prost(string, tag="2")]
pub username: ::prost::alloc::string::String,
#[prost(int32, tag="3")]
[serde(rename = "StateID")]
pub state_id: i32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -30,10 +34,12 @@ pub struct UserResponse {
#[serde(rename_all_fields = "PascalCase")]
pub struct UserRequest {
#[prost(int64, tag="1")]
[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")]
pub state_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
@ -41,10 +47,12 @@ pub struct UserRequest {
#[serde(rename_all_fields = "PascalCase")]
pub struct UserFilter {
#[prost(int64, optional, tag="1")]
[serde(rename = "ID")]
pub id: ::core::option::Option<i64>,
#[prost(string, optional, tag="2")]
pub username: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int32, optional, tag="3")]
[serde(rename = "StateID")]
pub state_id: ::core::option::Option<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]