Autogenerated update for c872a75347...8f0bfd19ae

This commit is contained in:
Quaternions 2024-07-17 23:21:55 +00:00
parent a412b6da97
commit f5c723be08
9 changed files with 155 additions and 155 deletions

View File

@ -2,62 +2,62 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct BotResponse { pub struct BotResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(int64, tag="2")] #[prost(int64, tag="2")]
[serde(rename = "TimeID")] #[serde(rename = "TimeID")]
pub time_id: i64, pub time_id: i64,
#[prost(int64, tag="3")] #[prost(int64, tag="3")]
pub date: i64, pub date: i64,
#[prost(string, tag="4")] #[prost(string, tag="4")]
[serde(rename = "FileID")] #[serde(rename = "FileID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct BotRequest { pub struct BotRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
[serde(rename = "TimeID")] #[serde(rename = "TimeID")]
pub time_id: ::core::option::Option<i64>, pub time_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")] #[prost(int64, optional, tag="3")]
pub date: ::core::option::Option<i64>, pub date: ::core::option::Option<i64>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag="4")]
[serde(rename = "FileID")] #[serde(rename = "FileID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -66,7 +66,7 @@ pub struct ListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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 +75,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("bots.tonic.rs"); include!("bots.tonic.rs");

View File

@ -2,14 +2,14 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -20,7 +20,7 @@ pub struct UpdateMessage {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -29,7 +29,7 @@ pub struct ObjectResponse {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("datastore.tonic.rs"); include!("datastore.tonic.rs");

View File

@ -2,14 +2,14 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
#[prost(string, tag="2")] #[prost(string, tag="2")]
pub server: ::prost::alloc::string::String, pub server: ::prost::alloc::string::String,
#[prost(int32, tag="3")] #[prost(int32, tag="3")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int64, tag="4")] #[prost(int64, tag="4")]
pub date: i64, pub date: i64,
@ -18,17 +18,17 @@ pub struct EventCreate {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct EventItem { pub struct EventItem {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, tag="2")] #[prost(string, tag="2")]
pub event: ::prost::alloc::string::String, pub event: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag="3")]
pub server: ::prost::alloc::string::String, pub server: ::prost::alloc::string::String,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int64, tag="5")] #[prost(int64, tag="5")]
pub date: i64, pub date: i64,
@ -37,7 +37,7 @@ pub struct EventItem {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -46,7 +46,7 @@ pub struct LatestRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -55,14 +55,14 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("events.tonic.rs"); include!("events.tonic.rs");

View File

@ -2,79 +2,79 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct MapResponse { pub struct MapResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, tag="2")] #[prost(string, tag="2")]
pub display_name: ::prost::alloc::string::String, pub display_name: ::prost::alloc::string::String,
#[prost(string, tag="3")] #[prost(string, tag="3")]
pub creator: ::prost::alloc::string::String, pub creator: ::prost::alloc::string::String,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int64, tag="5")] #[prost(int64, tag="5")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct MapRequest { pub struct MapRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag="2")]
pub display_name: ::core::option::Option<::prost::alloc::string::String>, pub display_name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag="3")]
pub creator: ::core::option::Option<::prost::alloc::string::String>, pub creator: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int32, optional, tag="4")] #[prost(int32, optional, tag="4")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: ::core::option::Option<i32>, pub game_id: ::core::option::Option<i32>,
#[prost(int64, optional, tag="5")] #[prost(int64, optional, tag="5")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct MapFilter { pub struct MapFilter {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag="2")]
pub display_name: ::core::option::Option<::prost::alloc::string::String>, pub display_name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag="3")]
pub creator: ::core::option::Option<::prost::alloc::string::String>, pub creator: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int32, optional, tag="4")] #[prost(int32, optional, tag="4")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -83,7 +83,7 @@ pub struct ListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -92,7 +92,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("maps.tonic.rs"); include!("maps.tonic.rs");

View File

@ -2,77 +2,77 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct GetRequest { pub struct GetRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: i64, pub user_id: i64,
#[prost(int32, tag="2")] #[prost(int32, tag="2")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: i32, pub style_id: i32,
#[prost(int32, tag="3")] #[prost(int32, tag="3")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: i32, pub mode_id: i32,
#[prost(int32, repeated, tag="5")] #[prost(int32, repeated, tag="5")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct ListRequest { pub struct ListRequest {
#[prost(int32, tag="1")] #[prost(int32, tag="1")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: i32, pub style_id: i32,
#[prost(int32, tag="2")] #[prost(int32, tag="2")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int32, tag="3")] #[prost(int32, tag="3")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: i32, pub mode_id: i32,
#[prost(int64, tag="4")] #[prost(int64, tag="4")]
pub sort: i64, pub sort: i64,
#[prost(int32, repeated, tag="5")] #[prost(int32, repeated, tag="5")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
pub state_id: ::prost::alloc::vec::Vec<i32>, pub state_id: ::prost::alloc::vec::Vec<i32>,
#[prost(message, optional, tag="6")] #[prost(message, optional, tag="6")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct RankMessage { pub struct RankMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag="2")]
pub user: ::core::option::Option<super::users::UserResponse>, pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int32, tag="3")] #[prost(int32, tag="3")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: i32, pub style_id: i32,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: i32, pub mode_id: i32,
#[prost(int32, tag="5")] #[prost(int32, tag="5")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(double, tag="6")] #[prost(double, tag="6")]
pub rank: f64, pub rank: f64,
@ -83,7 +83,7 @@ pub struct RankMessage {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -92,7 +92,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("ranks.tonic.rs"); include!("ranks.tonic.rs");

View File

@ -2,39 +2,39 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct ServerCreate { pub struct ServerCreate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")] #[prost(int64, tag="2")]
[serde(rename = "PlaceID")] #[serde(rename = "PlaceID")]
pub place_id: i64, pub place_id: i64,
#[prost(int64, tag="3")] #[prost(int64, tag="3")]
pub start_time: i64, pub start_time: i64,
#[prost(string, tag="4")] #[prost(string, tag="4")]
[serde(rename = "VipServerID")] #[serde(rename = "VipServerID")]
pub vip_server_id: ::prost::alloc::string::String, pub vip_server_id: ::prost::alloc::string::String,
#[prost(int64, tag="5")] #[prost(int64, tag="5")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: i64, pub user_id: i64,
#[prost(int32, tag="6")] #[prost(int32, tag="6")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(int64, tag="7")] #[prost(int64, tag="7")]
pub map_id: i64, pub map_id: i64,
@ -47,23 +47,23 @@ pub struct ServerCreate {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct ServerItem { pub struct ServerItem {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")] #[prost(int64, tag="2")]
[serde(rename = "PlaceID")] #[serde(rename = "PlaceID")]
pub place_id: i64, pub place_id: i64,
#[prost(int64, tag="3")] #[prost(int64, tag="3")]
pub start_time: i64, pub start_time: i64,
#[prost(string, tag="4")] #[prost(string, tag="4")]
[serde(rename = "VipServerID")] #[serde(rename = "VipServerID")]
pub vip_server_id: ::prost::alloc::string::String, pub vip_server_id: ::prost::alloc::string::String,
#[prost(message, optional, tag="5")] #[prost(message, optional, tag="5")]
pub user: ::core::option::Option<super::users::UserResponse>, pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int32, tag="6")] #[prost(int32, tag="6")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: i32, pub game_id: i32,
#[prost(message, optional, tag="7")] #[prost(message, optional, tag="7")]
pub map: ::core::option::Option<super::maps::MapResponse>, pub map: ::core::option::Option<super::maps::MapResponse>,
@ -76,10 +76,10 @@ pub struct ServerItem {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct ServerUpdate { pub struct ServerUpdate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
pub map_id: ::core::option::Option<i64>, pub map_id: ::core::option::Option<i64>,
@ -90,29 +90,29 @@ pub struct ServerUpdate {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct ServerFilter { pub struct ServerFilter {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::core::option::Option<::prost::alloc::string::String>, pub id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
[serde(rename = "PlaceID")] #[serde(rename = "PlaceID")]
pub place_id: ::core::option::Option<i64>, pub place_id: ::core::option::Option<i64>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag="4")]
[serde(rename = "VipServerID")] #[serde(rename = "VipServerID")]
pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>, pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="5")] #[prost(int64, optional, tag="5")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>, pub user_id: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")] #[prost(int32, optional, tag="6")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
pub game_id: ::core::option::Option<i32>, pub game_id: ::core::option::Option<i32>,
#[prost(int64, optional, tag="7")] #[prost(int64, optional, tag="7")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -121,7 +121,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -130,7 +130,7 @@ pub struct ServerListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("servers.tonic.rs"); include!("servers.tonic.rs");

View File

@ -2,62 +2,62 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TimeRequest { pub struct TimeRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
pub time: ::core::option::Option<i64>, pub time: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")] #[prost(int64, optional, tag="3")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>, pub user_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="4")] #[prost(int64, optional, tag="4")]
pub map_id: ::core::option::Option<i64>, pub map_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="5")] #[prost(int64, optional, tag="5")]
pub date: ::core::option::Option<i64>, pub date: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")] #[prost(int32, optional, tag="6")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: ::core::option::Option<i32>, pub style_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="7")] #[prost(int32, optional, tag="7")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: ::core::option::Option<i32>, pub mode_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="8")] #[prost(int32, optional, tag="8")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TimeFilter { pub struct TimeFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::core::option::Option<i64>, pub id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
pub time: ::core::option::Option<i64>, pub time: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")] #[prost(int64, optional, tag="3")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>, pub user_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="4")] #[prost(int64, optional, tag="4")]
pub map_id: ::core::option::Option<i64>, pub map_id: ::core::option::Option<i64>,
#[prost(int64, optional, tag="5")] #[prost(int64, optional, tag="5")]
pub date: ::core::option::Option<i64>, pub date: ::core::option::Option<i64>,
#[prost(int32, optional, tag="6")] #[prost(int32, optional, tag="6")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: ::core::option::Option<i32>, pub style_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="7")] #[prost(int32, optional, tag="7")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: ::core::option::Option<i32>, pub mode_id: ::core::option::Option<i32>,
#[prost(int32, optional, tag="8")] #[prost(int32, optional, tag="8")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TimeResponse { pub struct TimeResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(int64, tag="2")] #[prost(int64, tag="2")]
pub time: i64, pub time: i64,
@ -70,26 +70,26 @@ pub struct TimeResponse {
#[prost(int64, tag="6")] #[prost(int64, tag="6")]
pub date: i64, pub date: i64,
#[prost(int32, tag="7")] #[prost(int32, tag="7")]
[serde(rename = "StyleID")] #[serde(rename = "StyleID")]
pub style_id: i32, pub style_id: i32,
#[prost(int32, tag="8")] #[prost(int32, tag="8")]
[serde(rename = "ModeID")] #[serde(rename = "ModeID")]
pub mode_id: i32, pub mode_id: i32,
#[prost(int32, tag="9")] #[prost(int32, tag="9")]
[serde(rename = "GameID")] #[serde(rename = "GameID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -98,14 +98,14 @@ pub struct TimeList {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -123,7 +123,7 @@ pub struct ListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -132,7 +132,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("times.tonic.rs"); include!("times.tonic.rs");

View File

@ -2,50 +2,50 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TransactionCreate { pub struct TransactionCreate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(int64, tag="2")] #[prost(int64, tag="2")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: i64, pub user_id: i64,
#[prost(int64, tag="3")] #[prost(int64, tag="3")]
pub value: i64, pub value: i64,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
pub state_id: i32, pub state_id: i32,
#[prost(message, optional, tag="5")] #[prost(message, optional, tag="5")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TransactionUpdate { pub struct TransactionUpdate {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(int64, optional, tag="2")] #[prost(int64, optional, tag="2")]
pub value: ::core::option::Option<i64>, pub value: ::core::option::Option<i64>,
#[prost(int64, optional, tag="3")] #[prost(int64, optional, tag="3")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
pub state_id: ::core::option::Option<i64>, pub state_id: ::core::option::Option<i64>,
#[prost(message, optional, tag="4")] #[prost(message, optional, tag="4")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TransactionItem { pub struct TransactionItem {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag="2")]
pub user: ::core::option::Option<super::users::UserResponse>, pub user: ::core::option::Option<super::users::UserResponse>,
#[prost(int64, tag="3")] #[prost(int64, tag="3")]
pub value: i64, pub value: i64,
#[prost(int32, tag="4")] #[prost(int32, tag="4")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
pub state_id: i32, pub state_id: i32,
#[prost(int64, tag="5")] #[prost(int64, tag="5")]
pub created: i64, pub created: i64,
@ -56,18 +56,18 @@ pub struct TransactionItem {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct TransactionFilter { pub struct TransactionFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
pub user_id: ::core::option::Option<i64>, pub user_id: ::core::option::Option<i64>,
#[prost(int32, optional, tag="2")] #[prost(int32, optional, tag="2")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -76,7 +76,7 @@ pub struct ListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -85,37 +85,37 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(string, tag="1")] #[prost(string, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct UserIdMessage { pub struct UserIdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "UserID")] #[serde(rename = "UserID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("transactions.tonic.rs"); include!("transactions.tonic.rs");

View File

@ -2,69 +2,69 @@
// 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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdList { pub struct IdList {
#[prost(int64, repeated, tag="1")] #[prost(int64, repeated, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct IdMessage { pub struct IdMessage {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct UserResponse { pub struct UserResponse {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, tag="2")] #[prost(string, tag="2")]
pub username: ::prost::alloc::string::String, pub username: ::prost::alloc::string::String,
#[prost(int32, tag="3")] #[prost(int32, tag="3")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct UserRequest { pub struct UserRequest {
#[prost(int64, tag="1")] #[prost(int64, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: i64, pub id: i64,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag="2")]
pub username: ::core::option::Option<::prost::alloc::string::String>, pub username: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int32, optional, tag="3")] #[prost(int32, optional, tag="3")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct UserFilter { pub struct UserFilter {
#[prost(int64, optional, tag="1")] #[prost(int64, optional, tag="1")]
[serde(rename = "ID")] #[serde(rename = "ID")]
pub id: ::core::option::Option<i64>, pub id: ::core::option::Option<i64>,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag="2")]
pub username: ::core::option::Option<::prost::alloc::string::String>, pub username: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int32, optional, tag="3")] #[prost(int32, optional, tag="3")]
[serde(rename = "StateID")] #[serde(rename = "StateID")]
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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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>,
@ -73,7 +73,7 @@ pub struct ListRequest {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[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,
@ -82,7 +82,7 @@ pub struct Pagination {
} }
#[allow(clippy::derive_partial_eq_without_eq)] #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all_fields = "PascalCase")] ##[serde(rename_all_fields = "PascalCase")]
pub struct NullResponse { pub struct NullResponse {
} }
include!("users.tonic.rs"); include!("users.tonic.rs");