2024-02-20 04:54:41 +00:00
|
|
|
// @generated
|
2024-07-14 00:40:26 +00:00
|
|
|
// This file is @generated by prost-build.
|
2024-02-20 04:54:41 +00:00
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct IdMessage {
|
|
|
|
#[prost(int64, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: i64,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct GetRequest {
|
|
|
|
#[prost(int64, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "UserID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub user_id: i64,
|
|
|
|
#[prost(int32, tag="2")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StyleID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub style_id: i32,
|
|
|
|
#[prost(int32, tag="3")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(int32, tag="4")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ModeID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub mode_id: i32,
|
2024-03-02 21:53:38 +00:00
|
|
|
#[prost(int32, repeated, tag="5")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StateID")]
|
2024-03-02 21:53:38 +00:00
|
|
|
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
2024-02-20 04:54:41 +00:00
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ListRequest {
|
|
|
|
#[prost(int32, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StyleID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub style_id: i32,
|
|
|
|
#[prost(int32, tag="2")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(int32, tag="3")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ModeID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub mode_id: i32,
|
|
|
|
#[prost(int64, tag="4")]
|
|
|
|
pub sort: i64,
|
|
|
|
#[prost(int32, repeated, tag="5")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StateID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
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)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct RankList {
|
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub ranks: ::prost::alloc::vec::Vec<RankMessage>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct RankMessage {
|
|
|
|
#[prost(int64, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: i64,
|
|
|
|
#[prost(message, optional, tag="2")]
|
|
|
|
pub user: ::core::option::Option<super::users::UserResponse>,
|
|
|
|
#[prost(int32, tag="3")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StyleID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub style_id: i32,
|
|
|
|
#[prost(int32, tag="4")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ModeID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub mode_id: i32,
|
|
|
|
#[prost(int32, tag="5")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(double, tag="6")]
|
|
|
|
pub rank: f64,
|
|
|
|
#[prost(double, tag="7")]
|
|
|
|
pub skill: f64,
|
|
|
|
#[prost(int64, tag="8")]
|
|
|
|
pub updated_at: i64,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct Pagination {
|
|
|
|
#[prost(int32, tag="1")]
|
|
|
|
pub size: i32,
|
|
|
|
#[prost(int32, tag="2")]
|
|
|
|
pub number: i32,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:21:55 +00:00
|
|
|
##[serde(rename_all_fields = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct NullResponse {
|
|
|
|
}
|
|
|
|
include!("ranks.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|