Autogenerated update for d6f891afeb...20516bab8d
This commit is contained in:
parent
6c2a6b80b3
commit
7d840b2246
16
bots/bots.rs
16
bots/bots.rs
@ -1,19 +1,19 @@
|
||||
// @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)]
|
||||
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)]
|
||||
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)]
|
||||
pub struct BotResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -25,7 +25,7 @@ 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)]
|
||||
pub struct BotRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -37,13 +37,13 @@ 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)]
|
||||
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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<BotRequest>,
|
||||
@ -51,7 +51,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -59,7 +59,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("bots.tonic.rs");
|
||||
|
@ -1,13 +1,13 @@
|
||||
// @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)]
|
||||
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)]
|
||||
pub struct UpdateMessage {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -17,7 +17,7 @@ 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)]
|
||||
pub struct ObjectResponse {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -25,7 +25,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("datastore.tonic.rs");
|
||||
|
@ -1,7 +1,7 @@
|
||||
// @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)]
|
||||
pub struct EventCreate {
|
||||
#[prost(string, tag="1")]
|
||||
pub event: ::prost::alloc::string::String,
|
||||
@ -15,7 +15,7 @@ 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)]
|
||||
pub struct EventItem {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -31,7 +31,7 @@ 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)]
|
||||
pub struct LatestRequest {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
@ -39,7 +39,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -47,13 +47,13 @@ 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)]
|
||||
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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("events.tonic.rs");
|
||||
|
18
maps/maps.rs
18
maps/maps.rs
@ -1,19 +1,19 @@
|
||||
// @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)]
|
||||
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)]
|
||||
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)]
|
||||
pub struct MapResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -27,7 +27,7 @@ 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)]
|
||||
pub struct MapRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -41,7 +41,7 @@ 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)]
|
||||
pub struct MapFilter {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -53,13 +53,13 @@ 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)]
|
||||
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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<MapFilter>,
|
||||
@ -67,7 +67,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -75,7 +75,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("maps.tonic.rs");
|
||||
|
@ -1,13 +1,13 @@
|
||||
// @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)]
|
||||
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)]
|
||||
pub struct GetRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
pub user_id: i64,
|
||||
@ -21,7 +21,7 @@ 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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(int32, tag="1")]
|
||||
pub style_id: i32,
|
||||
@ -37,13 +37,13 @@ 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)]
|
||||
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)]
|
||||
pub struct RankMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -63,7 +63,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -71,7 +71,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("ranks.tonic.rs");
|
||||
|
@ -1,19 +1,19 @@
|
||||
// @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)]
|
||||
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)]
|
||||
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)]
|
||||
pub struct ServerCreate {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -37,7 +37,7 @@ 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)]
|
||||
pub struct ServerItem {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -61,7 +61,7 @@ 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)]
|
||||
pub struct ServerUpdate {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -73,7 +73,7 @@ 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)]
|
||||
pub struct ServerFilter {
|
||||
#[prost(string, optional, tag="1")]
|
||||
pub id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
@ -89,7 +89,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -97,7 +97,7 @@ 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)]
|
||||
pub struct ServerListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<ServerFilter>,
|
||||
@ -105,7 +105,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("servers.tonic.rs");
|
||||
|
@ -1,7 +1,7 @@
|
||||
// @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)]
|
||||
pub struct TimeRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -21,7 +21,7 @@ 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)]
|
||||
pub struct TimeFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
@ -41,7 +41,7 @@ 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)]
|
||||
pub struct TimeResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -63,13 +63,13 @@ 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)]
|
||||
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)]
|
||||
pub struct TimeList {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub times: ::prost::alloc::vec::Vec<TimeResponse>,
|
||||
@ -77,13 +77,13 @@ 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)]
|
||||
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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TimeFilter>,
|
||||
@ -100,7 +100,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -108,7 +108,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("times.tonic.rs");
|
||||
|
@ -1,7 +1,7 @@
|
||||
// @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)]
|
||||
pub struct TransactionCreate {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -15,7 +15,7 @@ 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)]
|
||||
pub struct TransactionUpdate {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -27,7 +27,7 @@ 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)]
|
||||
pub struct TransactionItem {
|
||||
#[prost(string, tag="1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
@ -45,7 +45,7 @@ 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)]
|
||||
pub struct TransactionFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
@ -53,7 +53,7 @@ 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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TransactionFilter>,
|
||||
@ -61,7 +61,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -69,31 +69,31 @@ 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)]
|
||||
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)]
|
||||
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)]
|
||||
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)]
|
||||
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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("transactions.tonic.rs");
|
||||
|
@ -1,19 +1,19 @@
|
||||
// @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)]
|
||||
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)]
|
||||
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)]
|
||||
pub struct UserResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -23,7 +23,7 @@ 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)]
|
||||
pub struct UserRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
pub id: i64,
|
||||
@ -33,7 +33,7 @@ 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)]
|
||||
pub struct UserFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
@ -43,13 +43,13 @@ 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)]
|
||||
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)]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<UserFilter>,
|
||||
@ -57,7 +57,7 @@ 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)]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -65,7 +65,7 @@ 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)]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("users.tonic.rs");
|
||||
|
Loading…
Reference in New Issue
Block a user