// @generated // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[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, serde::Serialize, serde::Deserialize)] pub struct GetRequest { #[prost(int64, tag="1")] pub user_id: i64, #[prost(int32, tag="2")] pub style_id: i32, #[prost(int32, tag="3")] pub game_id: i32, #[prost(int32, tag="4")] pub mode_id: i32, #[prost(int32, repeated, tag="5")] pub state_id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] pub struct ListRequest { #[prost(int32, tag="1")] pub style_id: i32, #[prost(int32, tag="2")] pub game_id: i32, #[prost(int32, tag="3")] pub mode_id: i32, #[prost(int64, tag="4")] pub sort: i64, #[prost(int32, repeated, tag="5")] pub state_id: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="6")] pub page: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] pub struct RankList { #[prost(message, repeated, tag="1")] pub ranks: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] pub struct RankMessage { #[prost(int64, tag="1")] pub id: i64, #[prost(message, optional, tag="2")] pub user: ::core::option::Option, #[prost(int32, tag="3")] pub style_id: i32, #[prost(int32, tag="4")] pub mode_id: i32, #[prost(int32, tag="5")] 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)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] 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)] pub struct NullResponse { } include!("ranks.tonic.rs"); // @@protoc_insertion_point(module)