Autogenerated update for c872a75347...8f0bfd19ae
This commit is contained in:
parent
a412b6da97
commit
f5c723be08
32
bots/bots.rs
32
bots/bots.rs
@ -2,62 +2,62 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdList {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct BotResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(int64, tag="2")]
|
||||
[serde(rename = "TimeID")]
|
||||
#[serde(rename = "TimeID")]
|
||||
pub time_id: i64,
|
||||
#[prost(int64, tag="3")]
|
||||
pub date: i64,
|
||||
#[prost(string, tag="4")]
|
||||
[serde(rename = "FileID")]
|
||||
#[serde(rename = "FileID")]
|
||||
pub file_id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct BotRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
[serde(rename = "TimeID")]
|
||||
#[serde(rename = "TimeID")]
|
||||
pub time_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="3")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag="4")]
|
||||
[serde(rename = "FileID")]
|
||||
#[serde(rename = "FileID")]
|
||||
pub file_id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<BotRequest>,
|
||||
@ -66,7 +66,7 @@ pub struct ListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -75,7 +75,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("bots.tonic.rs");
|
||||
|
@ -2,14 +2,14 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct UpdateMessage {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -20,7 +20,7 @@ pub struct UpdateMessage {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ObjectResponse {
|
||||
#[prost(string, tag="1")]
|
||||
pub key: ::prost::alloc::string::String,
|
||||
@ -29,7 +29,7 @@ pub struct ObjectResponse {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("datastore.tonic.rs");
|
||||
|
@ -2,14 +2,14 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct EventCreate {
|
||||
#[prost(string, tag="1")]
|
||||
pub event: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
pub server: ::prost::alloc::string::String,
|
||||
#[prost(int32, tag="3")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int64, tag="4")]
|
||||
pub date: i64,
|
||||
@ -18,17 +18,17 @@ pub struct EventCreate {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct EventItem {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, tag="2")]
|
||||
pub event: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="3")]
|
||||
pub server: ::prost::alloc::string::String,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int64, tag="5")]
|
||||
pub date: i64,
|
||||
@ -37,7 +37,7 @@ pub struct EventItem {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct LatestRequest {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
@ -46,7 +46,7 @@ pub struct LatestRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -55,14 +55,14 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("events.tonic.rs");
|
||||
|
34
maps/maps.rs
34
maps/maps.rs
@ -2,79 +2,79 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdList {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct MapResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, tag="2")]
|
||||
pub display_name: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="3")]
|
||||
pub creator: ::prost::alloc::string::String,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int64, tag="5")]
|
||||
pub date: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct MapRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, optional, tag="2")]
|
||||
pub display_name: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
pub creator: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int32, optional, tag="4")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
#[prost(int64, optional, tag="5")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct MapFilter {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, optional, tag="2")]
|
||||
pub display_name: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
pub creator: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int32, optional, tag="4")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<MapFilter>,
|
||||
@ -83,7 +83,7 @@ pub struct ListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -92,7 +92,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("maps.tonic.rs");
|
||||
|
@ -2,77 +2,77 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct GetRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: i64,
|
||||
#[prost(int32, tag="2")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: i32,
|
||||
#[prost(int32, tag="3")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: i32,
|
||||
#[prost(int32, repeated, tag="5")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(int32, tag="1")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: i32,
|
||||
#[prost(int32, tag="2")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int32, tag="3")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: i32,
|
||||
#[prost(int64, tag="4")]
|
||||
pub sort: i64,
|
||||
#[prost(int32, repeated, tag="5")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
||||
#[prost(message, optional, tag="6")]
|
||||
pub page: ::core::option::Option<Pagination>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct RankMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(message, optional, tag="2")]
|
||||
pub user: ::core::option::Option<super::users::UserResponse>,
|
||||
#[prost(int32, tag="3")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: i32,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: i32,
|
||||
#[prost(int32, tag="5")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(double, tag="6")]
|
||||
pub rank: f64,
|
||||
@ -83,7 +83,7 @@ pub struct RankMessage {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -92,7 +92,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("ranks.tonic.rs");
|
||||
|
@ -2,39 +2,39 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ServerCreate {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(int64, tag="2")]
|
||||
[serde(rename = "PlaceID")]
|
||||
#[serde(rename = "PlaceID")]
|
||||
pub place_id: i64,
|
||||
#[prost(int64, tag="3")]
|
||||
pub start_time: i64,
|
||||
#[prost(string, tag="4")]
|
||||
[serde(rename = "VipServerID")]
|
||||
#[serde(rename = "VipServerID")]
|
||||
pub vip_server_id: ::prost::alloc::string::String,
|
||||
#[prost(int64, tag="5")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: i64,
|
||||
#[prost(int32, tag="6")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(int64, tag="7")]
|
||||
pub map_id: i64,
|
||||
@ -47,23 +47,23 @@ pub struct ServerCreate {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ServerItem {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(int64, tag="2")]
|
||||
[serde(rename = "PlaceID")]
|
||||
#[serde(rename = "PlaceID")]
|
||||
pub place_id: i64,
|
||||
#[prost(int64, tag="3")]
|
||||
pub start_time: i64,
|
||||
#[prost(string, tag="4")]
|
||||
[serde(rename = "VipServerID")]
|
||||
#[serde(rename = "VipServerID")]
|
||||
pub vip_server_id: ::prost::alloc::string::String,
|
||||
#[prost(message, optional, tag="5")]
|
||||
pub user: ::core::option::Option<super::users::UserResponse>,
|
||||
#[prost(int32, tag="6")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
#[prost(message, optional, tag="7")]
|
||||
pub map: ::core::option::Option<super::maps::MapResponse>,
|
||||
@ -76,10 +76,10 @@ pub struct ServerItem {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ServerUpdate {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
pub map_id: ::core::option::Option<i64>,
|
||||
@ -90,29 +90,29 @@ pub struct ServerUpdate {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ServerFilter {
|
||||
#[prost(string, optional, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
[serde(rename = "PlaceID")]
|
||||
#[serde(rename = "PlaceID")]
|
||||
pub place_id: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag="4")]
|
||||
[serde(rename = "VipServerID")]
|
||||
#[serde(rename = "VipServerID")]
|
||||
pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int64, optional, tag="5")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
#[prost(int32, optional, tag="6")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
#[prost(int64, optional, tag="7")]
|
||||
pub map_id: ::core::option::Option<i64>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -121,7 +121,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ServerListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<ServerFilter>,
|
||||
@ -130,7 +130,7 @@ pub struct ServerListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("servers.tonic.rs");
|
||||
|
@ -2,62 +2,62 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TimeRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
pub time: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="3")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="4")]
|
||||
pub map_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="5")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
#[prost(int32, optional, tag="6")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: ::core::option::Option<i32>,
|
||||
#[prost(int32, optional, tag="7")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: ::core::option::Option<i32>,
|
||||
#[prost(int32, optional, tag="8")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TimeFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
pub time: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="3")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="4")]
|
||||
pub map_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="5")]
|
||||
pub date: ::core::option::Option<i64>,
|
||||
#[prost(int32, optional, tag="6")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: ::core::option::Option<i32>,
|
||||
#[prost(int32, optional, tag="7")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: ::core::option::Option<i32>,
|
||||
#[prost(int32, optional, tag="8")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TimeResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(int64, tag="2")]
|
||||
pub time: i64,
|
||||
@ -70,26 +70,26 @@ pub struct TimeResponse {
|
||||
#[prost(int64, tag="6")]
|
||||
pub date: i64,
|
||||
#[prost(int32, tag="7")]
|
||||
[serde(rename = "StyleID")]
|
||||
#[serde(rename = "StyleID")]
|
||||
pub style_id: i32,
|
||||
#[prost(int32, tag="8")]
|
||||
[serde(rename = "ModeID")]
|
||||
#[serde(rename = "ModeID")]
|
||||
pub mode_id: i32,
|
||||
#[prost(int32, tag="9")]
|
||||
[serde(rename = "GameID")]
|
||||
#[serde(rename = "GameID")]
|
||||
pub game_id: i32,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TimeList {
|
||||
#[prost(message, repeated, tag="1")]
|
||||
pub times: ::prost::alloc::vec::Vec<TimeResponse>,
|
||||
@ -98,14 +98,14 @@ pub struct TimeList {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TimeFilter>,
|
||||
@ -123,7 +123,7 @@ pub struct ListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -132,7 +132,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("times.tonic.rs");
|
||||
|
@ -2,50 +2,50 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TransactionCreate {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(int64, tag="2")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: i64,
|
||||
#[prost(int64, tag="3")]
|
||||
pub value: i64,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: i32,
|
||||
#[prost(message, optional, tag="5")]
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TransactionUpdate {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(int64, optional, tag="2")]
|
||||
pub value: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag="3")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::core::option::Option<i64>,
|
||||
#[prost(message, optional, tag="4")]
|
||||
pub data: ::core::option::Option<::prost_types::Struct>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TransactionItem {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(message, optional, tag="2")]
|
||||
pub user: ::core::option::Option<super::users::UserResponse>,
|
||||
#[prost(int64, tag="3")]
|
||||
pub value: i64,
|
||||
#[prost(int32, tag="4")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: i32,
|
||||
#[prost(int64, tag="5")]
|
||||
pub created: i64,
|
||||
@ -56,18 +56,18 @@ pub struct TransactionItem {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct TransactionFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: ::core::option::Option<i64>,
|
||||
#[prost(int32, optional, tag="2")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<TransactionFilter>,
|
||||
@ -76,7 +76,7 @@ pub struct ListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -85,37 +85,37 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(string, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct UserIdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "UserID")]
|
||||
#[serde(rename = "UserID")]
|
||||
pub user_id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("transactions.tonic.rs");
|
||||
|
@ -2,69 +2,69 @@
|
||||
// This file is @generated by prost-build.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdList {
|
||||
#[prost(int64, repeated, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::prost::alloc::vec::Vec<i64>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct IdMessage {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct UserResponse {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, tag="2")]
|
||||
pub username: ::prost::alloc::string::String,
|
||||
#[prost(int32, tag="3")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: i32,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct UserRequest {
|
||||
#[prost(int64, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: i64,
|
||||
#[prost(string, optional, tag="2")]
|
||||
pub username: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int32, optional, tag="3")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct UserFilter {
|
||||
#[prost(int64, optional, tag="1")]
|
||||
[serde(rename = "ID")]
|
||||
#[serde(rename = "ID")]
|
||||
pub id: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag="2")]
|
||||
pub username: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(int32, optional, tag="3")]
|
||||
[serde(rename = "StateID")]
|
||||
#[serde(rename = "StateID")]
|
||||
pub state_id: ::core::option::Option<i32>,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[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, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct ListRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
pub filter: ::core::option::Option<UserFilter>,
|
||||
@ -73,7 +73,7 @@ pub struct ListRequest {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct Pagination {
|
||||
#[prost(int32, tag="1")]
|
||||
pub size: i32,
|
||||
@ -82,7 +82,7 @@ pub struct Pagination {
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all_fields = "PascalCase")]
|
||||
##[serde(rename_all_fields = "PascalCase")]
|
||||
pub struct NullResponse {
|
||||
}
|
||||
include!("users.tonic.rs");
|
||||
|
Loading…
Reference in New Issue
Block a user