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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct TimeRequest {
|
|
|
|
#[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(int64, optional, tag="2")]
|
|
|
|
pub time: ::core::option::Option<i64>,
|
|
|
|
#[prost(int64, optional, tag="3")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "UserID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
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")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StyleID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub style_id: ::core::option::Option<i32>,
|
|
|
|
#[prost(int32, optional, tag="7")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ModeID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub mode_id: ::core::option::Option<i32>,
|
|
|
|
#[prost(int32, optional, tag="8")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: ::core::option::Option<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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct TimeFilter {
|
|
|
|
#[prost(int64, optional, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::core::option::Option<i64>,
|
|
|
|
#[prost(int64, optional, tag="2")]
|
|
|
|
pub time: ::core::option::Option<i64>,
|
|
|
|
#[prost(int64, optional, tag="3")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "UserID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
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")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "StyleID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub style_id: ::core::option::Option<i32>,
|
|
|
|
#[prost(int32, optional, tag="7")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ModeID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub mode_id: ::core::option::Option<i32>,
|
|
|
|
#[prost(int32, optional, tag="8")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: ::core::option::Option<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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct TimeResponse {
|
|
|
|
#[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(int64, tag="2")]
|
|
|
|
pub time: i64,
|
|
|
|
#[prost(message, optional, tag="3")]
|
|
|
|
pub user: ::core::option::Option<super::users::UserResponse>,
|
|
|
|
#[prost(message, optional, tag="4")]
|
|
|
|
pub map: ::core::option::Option<super::maps::MapResponse>,
|
|
|
|
#[prost(message, optional, tag="5")]
|
|
|
|
pub bot: ::core::option::Option<super::bots::BotResponse>,
|
|
|
|
#[prost(int64, tag="6")]
|
|
|
|
pub date: i64,
|
|
|
|
#[prost(int32, tag="7")]
|
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="8")]
|
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="9")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: 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:26:01 +00:00
|
|
|
#[serde(rename_all = "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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct TimeList {
|
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub times: ::prost::alloc::vec::Vec<TimeResponse>,
|
|
|
|
#[prost(int64, tag="2")]
|
|
|
|
pub total: 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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct RankResponse {
|
|
|
|
#[prost(int64, tag="1")]
|
|
|
|
pub rank: 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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ListRequest {
|
|
|
|
#[prost(message, optional, tag="1")]
|
|
|
|
pub filter: ::core::option::Option<TimeFilter>,
|
|
|
|
#[prost(bool, tag="2")]
|
|
|
|
pub blacklisted: bool,
|
|
|
|
#[prost(message, optional, tag="3")]
|
|
|
|
pub page: ::core::option::Option<Pagination>,
|
|
|
|
///
|
|
|
|
/// 0 - time ASC
|
|
|
|
/// 1 - time DSC
|
|
|
|
/// 2 - date ASC
|
|
|
|
/// 3 - date DSC
|
|
|
|
#[prost(uint32, tag="4")]
|
|
|
|
pub sort: u32,
|
|
|
|
}
|
|
|
|
#[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:26:01 +00:00
|
|
|
#[serde(rename_all = "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:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct NullResponse {
|
|
|
|
}
|
|
|
|
include!("times.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|