Autogenerated update for 871d9c3cd5...067aed97f4

This commit is contained in:
Quaternions 2024-07-16 20:01:15 +00:00
parent 5843d113b7
commit c87ea2701b
9 changed files with 144 additions and 72 deletions

View File

@ -1,19 +1,22 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
pub id: ::prost::alloc::vec::Vec<i64>, pub id: ::prost::alloc::vec::Vec<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct BotResponse { pub struct BotResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -25,7 +28,8 @@ pub struct BotResponse {
pub file_id: ::prost::alloc::string::String, pub file_id: ::prost::alloc::string::String,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct BotRequest { pub struct BotRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -37,13 +41,15 @@ pub struct BotRequest {
pub file_id: ::core::option::Option<::prost::alloc::string::String>, pub file_id: ::core::option::Option<::prost::alloc::string::String>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct BotList { pub struct BotList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub bots: ::prost::alloc::vec::Vec<BotResponse>, pub bots: ::prost::alloc::vec::Vec<BotResponse>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<BotRequest>, pub filter: ::core::option::Option<BotRequest>,
@ -51,7 +57,8 @@ pub struct ListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -59,7 +66,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("bots.tonic.rs"); include!("bots.tonic.rs");

View File

@ -1,13 +1,15 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct KeyMessage { pub struct KeyMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub key: ::prost::alloc::string::String, pub key: ::prost::alloc::string::String,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UpdateMessage { pub struct UpdateMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub key: ::prost::alloc::string::String, pub key: ::prost::alloc::string::String,
@ -17,7 +19,8 @@ pub struct UpdateMessage {
pub deletes: ::core::option::Option<::prost_types::Struct>, pub deletes: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ObjectResponse { pub struct ObjectResponse {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub key: ::prost::alloc::string::String, pub key: ::prost::alloc::string::String,
@ -25,7 +28,8 @@ pub struct ObjectResponse {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("datastore.tonic.rs"); include!("datastore.tonic.rs");

View File

@ -1,7 +1,8 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct EventCreate { pub struct EventCreate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub event: ::prost::alloc::string::String, pub event: ::prost::alloc::string::String,
@ -15,7 +16,8 @@ pub struct EventCreate {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct EventItem { pub struct EventItem {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -31,7 +33,8 @@ pub struct EventItem {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct LatestRequest { pub struct LatestRequest {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
pub date: ::core::option::Option<i64>, pub date: ::core::option::Option<i64>,
@ -39,7 +42,8 @@ pub struct LatestRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -47,13 +51,15 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct LatestResponse { pub struct LatestResponse {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub events: ::prost::alloc::vec::Vec<EventItem>, pub events: ::prost::alloc::vec::Vec<EventItem>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("events.tonic.rs"); include!("events.tonic.rs");

View File

@ -1,19 +1,22 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
pub id: ::prost::alloc::vec::Vec<i64>, pub id: ::prost::alloc::vec::Vec<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct MapResponse { pub struct MapResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -27,7 +30,8 @@ pub struct MapResponse {
pub date: i64, pub date: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct MapRequest { pub struct MapRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -41,7 +45,8 @@ pub struct MapRequest {
pub date: ::core::option::Option<i64>, pub date: ::core::option::Option<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct MapFilter { pub struct MapFilter {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -53,13 +58,15 @@ pub struct MapFilter {
pub game_id: ::core::option::Option<i32>, pub game_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct MapList { pub struct MapList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub maps: ::prost::alloc::vec::Vec<MapResponse>, pub maps: ::prost::alloc::vec::Vec<MapResponse>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<MapFilter>, pub filter: ::core::option::Option<MapFilter>,
@ -67,7 +74,8 @@ pub struct ListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -75,7 +83,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("maps.tonic.rs"); include!("maps.tonic.rs");

View File

@ -1,13 +1,15 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct GetRequest { pub struct GetRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub user_id: i64, pub user_id: i64,
@ -21,7 +23,8 @@ pub struct GetRequest {
pub state_id: ::prost::alloc::vec::Vec<i32>, pub state_id: ::prost::alloc::vec::Vec<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub style_id: i32, pub style_id: i32,
@ -37,13 +40,15 @@ pub struct ListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct RankList { pub struct RankList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub ranks: ::prost::alloc::vec::Vec<RankMessage>, pub ranks: ::prost::alloc::vec::Vec<RankMessage>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct RankMessage { pub struct RankMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -63,7 +68,8 @@ pub struct RankMessage {
pub updated_at: i64, pub updated_at: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -71,7 +77,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("ranks.tonic.rs"); include!("ranks.tonic.rs");

View File

@ -1,19 +1,22 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerList { pub struct ServerList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub servers: ::prost::alloc::vec::Vec<ServerItem>, pub servers: ::prost::alloc::vec::Vec<ServerItem>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerCreate { pub struct ServerCreate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -37,7 +40,8 @@ pub struct ServerCreate {
pub last_update: i64, pub last_update: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerItem { pub struct ServerItem {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -61,7 +65,8 @@ pub struct ServerItem {
pub last_update: i64, pub last_update: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerUpdate { pub struct ServerUpdate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -73,7 +78,8 @@ pub struct ServerUpdate {
pub player_list: ::prost::alloc::vec::Vec<i64>, pub player_list: ::prost::alloc::vec::Vec<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerFilter { pub struct ServerFilter {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag="1")]
pub id: ::core::option::Option<::prost::alloc::string::String>, pub id: ::core::option::Option<::prost::alloc::string::String>,
@ -89,7 +95,8 @@ pub struct ServerFilter {
pub map_id: ::core::option::Option<i64>, pub map_id: ::core::option::Option<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -97,7 +104,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ServerListRequest { pub struct ServerListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<ServerFilter>, pub filter: ::core::option::Option<ServerFilter>,
@ -105,7 +113,8 @@ pub struct ServerListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("servers.tonic.rs"); include!("servers.tonic.rs");

View File

@ -1,7 +1,8 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeRequest { pub struct TimeRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -21,7 +22,8 @@ pub struct TimeRequest {
pub game_id: ::core::option::Option<i32>, pub game_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeFilter { pub struct TimeFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
pub id: ::core::option::Option<i64>, pub id: ::core::option::Option<i64>,
@ -41,7 +43,8 @@ pub struct TimeFilter {
pub game_id: ::core::option::Option<i32>, pub game_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeResponse { pub struct TimeResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -63,13 +66,15 @@ pub struct TimeResponse {
pub game_id: i32, pub game_id: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TimeList { pub struct TimeList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub times: ::prost::alloc::vec::Vec<TimeResponse>, pub times: ::prost::alloc::vec::Vec<TimeResponse>,
@ -77,13 +82,15 @@ pub struct TimeList {
pub total: i64, pub total: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct RankResponse { pub struct RankResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub rank: i64, pub rank: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<TimeFilter>, pub filter: ::core::option::Option<TimeFilter>,
@ -100,7 +107,8 @@ pub struct ListRequest {
pub sort: u32, pub sort: u32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -108,7 +116,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("times.tonic.rs"); include!("times.tonic.rs");

View File

@ -1,7 +1,8 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionCreate { pub struct TransactionCreate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -15,7 +16,8 @@ pub struct TransactionCreate {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionUpdate { pub struct TransactionUpdate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -27,7 +29,8 @@ pub struct TransactionUpdate {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionItem { pub struct TransactionItem {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
@ -45,7 +48,8 @@ pub struct TransactionItem {
pub data: ::core::option::Option<::prost_types::Struct>, pub data: ::core::option::Option<::prost_types::Struct>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionFilter { pub struct TransactionFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
pub user_id: ::core::option::Option<i64>, pub user_id: ::core::option::Option<i64>,
@ -53,7 +57,8 @@ pub struct TransactionFilter {
pub state_id: ::core::option::Option<i32>, pub state_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<TransactionFilter>, pub filter: ::core::option::Option<TransactionFilter>,
@ -61,7 +66,8 @@ pub struct ListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -69,31 +75,36 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct TransactionList { pub struct TransactionList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub transactions: ::prost::alloc::vec::Vec<TransactionItem>, pub transactions: ::prost::alloc::vec::Vec<TransactionItem>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct BalanceResponse { pub struct BalanceResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub balance: i64, pub balance: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UserIdMessage { pub struct UserIdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub user_id: i64, pub user_id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("transactions.tonic.rs"); include!("transactions.tonic.rs");

View File

@ -1,19 +1,22 @@
// @generated // @generated
// This file is @generated by prost-build. // This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
pub id: ::prost::alloc::vec::Vec<i64>, pub id: ::prost::alloc::vec::Vec<i64>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UserResponse { pub struct UserResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -23,7 +26,8 @@ pub struct UserResponse {
pub state_id: i32, pub state_id: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UserRequest { pub struct UserRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -33,7 +37,8 @@ pub struct UserRequest {
pub state_id: ::core::option::Option<i32>, pub state_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UserFilter { pub struct UserFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
pub id: ::core::option::Option<i64>, pub id: ::core::option::Option<i64>,
@ -43,13 +48,15 @@ pub struct UserFilter {
pub state_id: ::core::option::Option<i32>, pub state_id: ::core::option::Option<i32>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct UserList { pub struct UserList {
#[prost(message, repeated, tag="1")] #[prost(message, repeated, tag="1")]
pub users: ::prost::alloc::vec::Vec<UserResponse>, pub users: ::prost::alloc::vec::Vec<UserResponse>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag="1")]
pub filter: ::core::option::Option<UserFilter>, pub filter: ::core::option::Option<UserFilter>,
@ -57,7 +64,8 @@ pub struct ListRequest {
pub page: ::core::option::Option<Pagination>, pub page: ::core::option::Option<Pagination>,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -65,7 +73,8 @@ pub struct Pagination {
pub number: i32, pub number: i32,
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("users.tonic.rs"); include!("users.tonic.rs");