Autogenerated update for 871d9c3cd5...067aed97f4
This commit is contained in:
parent
5843d113b7
commit
c87ea2701b
24
bots/bots.rs
24
bots/bots.rs
@ -1,19 +1,22 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -25,7 +28,8 @@ pub struct BotResponse {
|
||||
pub file_id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -37,13 +41,15 @@ pub struct BotRequest {
|
||||
pub file_id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub bots: ::prost::alloc::vec::Vec<BotResponse>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<BotRequest>,
|
||||
@ -51,7 +57,8 @@ pub struct ListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -59,7 +66,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("bots.tonic.rs");
|
||||
|
@ -1,13 +1,15 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -17,7 +19,8 @@ pub struct UpdateMessage {
|
||||
pub deletes: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -25,7 +28,8 @@ pub struct ObjectResponse {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("datastore.tonic.rs");
|
||||
|
@ -1,7 +1,8 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub event: ::prost::alloc::string::String,
|
||||
@ -15,7 +16,8 @@ pub struct EventCreate {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -31,7 +33,8 @@ pub struct EventItem {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
@ -39,7 +42,8 @@ pub struct LatestRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -47,13 +51,15 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub events: ::prost::alloc::vec::Vec<EventItem>,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("events.tonic.rs");
|
||||
|
27
maps/maps.rs
27
maps/maps.rs
@ -1,19 +1,22 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -27,7 +30,8 @@ pub struct MapResponse {
|
||||
pub date: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -41,7 +45,8 @@ pub struct MapRequest {
|
||||
pub date: ::core::option::Option<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -53,13 +58,15 @@ pub struct MapFilter {
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub maps: ::prost::alloc::vec::Vec<MapResponse>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<MapFilter>,
|
||||
@ -67,7 +74,8 @@ pub struct ListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -75,7 +83,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("maps.tonic.rs");
|
||||
|
@ -1,13 +1,15 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub user_id: i64,
|
||||
@ -21,7 +23,8 @@ pub struct GetRequest {
|
||||
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub style_id: i32,
|
||||
@ -37,13 +40,15 @@ pub struct ListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub ranks: ::prost::alloc::vec::Vec<RankMessage>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -63,7 +68,8 @@ pub struct RankMessage {
|
||||
pub updated_at: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -71,7 +77,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("ranks.tonic.rs");
|
||||
|
@ -1,19 +1,22 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub servers: ::prost::alloc::vec::Vec<ServerItem>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -37,7 +40,8 @@ pub struct ServerCreate {
|
||||
pub last_update: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -61,7 +65,8 @@ pub struct ServerItem {
|
||||
pub last_update: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -73,7 +78,8 @@ pub struct ServerUpdate {
|
||||
pub player_list: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, optional, tag="1")]
|
||||
pub id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
@ -89,7 +95,8 @@ pub struct ServerFilter {
|
||||
pub map_id: ::core::option::Option<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -97,7 +104,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<ServerFilter>,
|
||||
@ -105,7 +113,8 @@ pub struct ServerListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("servers.tonic.rs");
|
||||
|
@ -1,7 +1,8 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -21,7 +22,8 @@ pub struct TimeRequest {
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
@ -41,7 +43,8 @@ pub struct TimeFilter {
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -63,13 +66,15 @@ pub struct TimeResponse {
|
||||
pub game_id: i32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub times: ::prost::alloc::vec::Vec<TimeResponse>,
|
||||
@ -77,13 +82,15 @@ pub struct TimeList {
|
||||
pub total: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub rank: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TimeFilter>,
|
||||
@ -100,7 +107,8 @@ pub struct ListRequest {
|
||||
pub sort: u32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -108,7 +116,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("times.tonic.rs");
|
||||
|
@ -1,7 +1,8 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -15,7 +16,8 @@ pub struct TransactionCreate {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -27,7 +29,8 @@ pub struct TransactionUpdate {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -45,7 +48,8 @@ pub struct TransactionItem {
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
@ -53,7 +57,8 @@ pub struct TransactionFilter {
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TransactionFilter>,
|
||||
@ -61,7 +66,8 @@ pub struct ListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -69,31 +75,36 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub transactions: ::prost::alloc::vec::Vec<TransactionItem>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub balance: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub user_id: i64,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("transactions.tonic.rs");
|
||||
|
@ -1,19 +1,22 @@
|
||||
// @generated
|
||||
// This file is @generated by prost-build.
|
||||
#[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 {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -23,7 +26,8 @@ pub struct UserResponse {
|
||||
pub state_id: i32,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -33,7 +37,8 @@ pub struct UserRequest {
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
@ -43,13 +48,15 @@ pub struct UserFilter {
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub users: ::prost::alloc::vec::Vec<UserResponse>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<UserFilter>,
|
||||
@ -57,7 +64,8 @@ pub struct ListRequest {
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[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 {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -65,7 +73,8 @@ pub struct Pagination {
|
||||
pub number: i32,
|
||||
}
|
||||
#[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 {
|
||||
}
|
||||
include!("users.tonic.rs");
|
||||
|
Loading…
Reference in New Issue
Block a user