// @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_fields = "PascalCase")] pub struct ServerList { #[prost(message, repeated, tag="1")] pub servers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "PascalCase")] pub struct IdMessage { #[prost(string, tag="1")] 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")] pub struct ServerCreate { #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, #[prost(int64, tag="2")] pub place_id: i64, #[prost(int64, tag="3")] pub start_time: i64, #[prost(string, tag="4")] pub vip_server_id: ::prost::alloc::string::String, #[prost(int64, tag="5")] pub user_id: i64, #[prost(int32, tag="6")] pub game_id: i32, #[prost(int64, tag="7")] pub map_id: i64, #[prost(int64, tag="8")] pub map_date: i64, #[prost(int64, repeated, tag="9")] pub player_list: ::prost::alloc::vec::Vec, #[prost(int64, tag="10")] pub last_update: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "PascalCase")] pub struct ServerItem { #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, #[prost(int64, tag="2")] pub place_id: i64, #[prost(int64, tag="3")] pub start_time: i64, #[prost(string, tag="4")] pub vip_server_id: ::prost::alloc::string::String, #[prost(message, optional, tag="5")] pub user: ::core::option::Option, #[prost(int32, tag="6")] pub game_id: i32, #[prost(message, optional, tag="7")] pub map: ::core::option::Option, #[prost(int64, tag="8")] pub map_date: i64, #[prost(int64, repeated, tag="9")] pub player_list: ::prost::alloc::vec::Vec, #[prost(int64, tag="10")] pub last_update: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "PascalCase")] pub struct ServerUpdate { #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, #[prost(int64, optional, tag="2")] pub map_id: ::core::option::Option, #[prost(int64, optional, tag="3")] pub map_date: ::core::option::Option, #[prost(int64, repeated, tag="4")] pub player_list: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "PascalCase")] pub struct ServerFilter { #[prost(string, optional, tag="1")] pub id: ::core::option::Option<::prost::alloc::string::String>, #[prost(int64, optional, tag="2")] pub place_id: ::core::option::Option, #[prost(string, optional, tag="4")] pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(int64, optional, tag="5")] pub user_id: ::core::option::Option, #[prost(int32, optional, tag="6")] pub game_id: ::core::option::Option, #[prost(int64, optional, tag="7")] pub map_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "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_fields = "PascalCase")] pub struct ServerListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, #[prost(message, optional, tag="2")] pub page: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all_fields = "PascalCase")] pub struct NullResponse { } include!("servers.tonic.rs"); // @@protoc_insertion_point(module)