// @generated // 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 = "PascalCase")] pub struct TimeRequest { #[prost(int64, tag="1")] #[serde(rename = "ID")] pub id: i64, #[prost(int64, optional, tag="2")] pub time: ::core::option::Option, #[prost(int64, optional, tag="3")] #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, #[prost(int32, optional, tag="6")] #[serde(rename = "StyleID")] pub style_id: ::core::option::Option, #[prost(int32, optional, tag="7")] #[serde(rename = "ModeID")] pub mode_id: ::core::option::Option, #[prost(int32, optional, tag="8")] #[serde(rename = "GameID")] pub game_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "PascalCase")] pub struct TimeFilter { #[prost(int64, optional, tag="1")] #[serde(rename = "ID")] pub id: ::core::option::Option, #[prost(int64, optional, tag="2")] pub time: ::core::option::Option, #[prost(int64, optional, tag="3")] #[serde(rename = "UserID")] pub user_id: ::core::option::Option, #[prost(int64, optional, tag="4")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="5")] pub date: ::core::option::Option, #[prost(int32, optional, tag="6")] #[serde(rename = "StyleID")] pub style_id: ::core::option::Option, #[prost(int32, optional, tag="7")] #[serde(rename = "ModeID")] pub mode_id: ::core::option::Option, #[prost(int32, optional, tag="8")] #[serde(rename = "GameID")] pub game_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "PascalCase")] pub struct TimeResponse { #[prost(int64, tag="1")] #[serde(rename = "ID")] pub id: i64, #[prost(int64, tag="2")] pub time: i64, #[prost(message, optional, tag="3")] pub user: ::core::option::Option, #[prost(message, optional, tag="4")] pub map: ::core::option::Option, #[prost(message, optional, tag="5")] pub bot: ::core::option::Option, #[prost(int64, tag="6")] pub date: i64, #[prost(int32, tag="7")] #[serde(rename = "StyleID")] pub style_id: i32, #[prost(int32, tag="8")] #[serde(rename = "ModeID")] pub mode_id: i32, #[prost(int32, tag="9")] #[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 = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[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 = "PascalCase")] pub struct TimeList { #[prost(message, repeated, tag="1")] pub times: ::prost::alloc::vec::Vec, #[prost(int64, tag="2")] pub total: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "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 = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, #[prost(bool, tag="2")] pub blacklisted: bool, #[prost(message, optional, tag="3")] pub page: ::core::option::Option, /// /// 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)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, #[prost(int32, tag="2")] pub number: i32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("times.tonic.rs"); // @@protoc_insertion_point(module)