Autogenerated update for d6f891afeb...20516bab8d

This commit is contained in:
Quaternions 2024-07-14 15:45:12 +00:00
parent 6c2a6b80b3
commit 7d840b2246
9 changed files with 72 additions and 72 deletions

View File

@ -1,19 +1,19 @@
// @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)]
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)]
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)]
pub struct BotResponse { pub struct BotResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -25,7 +25,7 @@ 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)]
pub struct BotRequest { pub struct BotRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -37,13 +37,13 @@ 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)]
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)]
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 +51,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -59,7 +59,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("bots.tonic.rs"); include!("bots.tonic.rs");

View File

@ -1,13 +1,13 @@
// @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)]
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)]
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 +17,7 @@ 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)]
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 +25,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("datastore.tonic.rs"); include!("datastore.tonic.rs");

View File

@ -1,7 +1,7 @@
// @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)]
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 +15,7 @@ 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)]
pub struct EventItem { pub struct EventItem {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -31,7 +31,7 @@ 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)]
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 +39,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -47,13 +47,13 @@ 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)]
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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("events.tonic.rs"); include!("events.tonic.rs");

View File

@ -1,19 +1,19 @@
// @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)]
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)]
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)]
pub struct MapResponse { pub struct MapResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -27,7 +27,7 @@ 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)]
pub struct MapRequest { pub struct MapRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -41,7 +41,7 @@ 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)]
pub struct MapFilter { pub struct MapFilter {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -53,13 +53,13 @@ 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)]
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)]
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 +67,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -75,7 +75,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("maps.tonic.rs"); include!("maps.tonic.rs");

View File

@ -1,13 +1,13 @@
// @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)]
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)]
pub struct GetRequest { pub struct GetRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub user_id: i64, pub user_id: i64,
@ -21,7 +21,7 @@ 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)]
pub struct ListRequest { pub struct ListRequest {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub style_id: i32, pub style_id: i32,
@ -37,13 +37,13 @@ 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)]
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)]
pub struct RankMessage { pub struct RankMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -63,7 +63,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -71,7 +71,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("ranks.tonic.rs"); include!("ranks.tonic.rs");

View File

@ -1,19 +1,19 @@
// @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)]
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)]
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)]
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 +37,7 @@ 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)]
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 +61,7 @@ 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)]
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 +73,7 @@ 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)]
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 +89,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -97,7 +97,7 @@ 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)]
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 +105,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("servers.tonic.rs"); include!("servers.tonic.rs");

View File

@ -1,7 +1,7 @@
// @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)]
pub struct TimeRequest { pub struct TimeRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -21,7 +21,7 @@ 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)]
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 +41,7 @@ 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)]
pub struct TimeResponse { pub struct TimeResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -63,13 +63,13 @@ 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)]
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)]
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 +77,13 @@ 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)]
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)]
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 +100,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -108,7 +108,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("times.tonic.rs"); include!("times.tonic.rs");

View File

@ -1,7 +1,7 @@
// @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)]
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 +15,7 @@ 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)]
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 +27,7 @@ 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)]
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 +45,7 @@ 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)]
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 +53,7 @@ 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)]
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 +61,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -69,31 +69,31 @@ 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)]
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)]
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)]
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)]
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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("transactions.tonic.rs"); include!("transactions.tonic.rs");

View File

@ -1,19 +1,19 @@
// @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)]
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)]
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)]
pub struct UserResponse { pub struct UserResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -23,7 +23,7 @@ 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)]
pub struct UserRequest { pub struct UserRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
pub id: i64, pub id: i64,
@ -33,7 +33,7 @@ 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)]
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 +43,13 @@ 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)]
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)]
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 +57,7 @@ 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)]
pub struct Pagination { pub struct Pagination {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
pub size: i32, pub size: i32,
@ -65,7 +65,7 @@ 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)]
pub struct NullResponse { pub struct NullResponse {
} }
include!("users.tonic.rs"); include!("users.tonic.rs");