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)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
|
|
pub struct EventCreate {
|
|
|
|
#[prost(string, tag="1")]
|
|
|
|
pub event: ::prost::alloc::string::String,
|
|
|
|
#[prost(string, tag="2")]
|
|
|
|
pub server: ::prost::alloc::string::String,
|
|
|
|
#[prost(int32, tag="3")]
|
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(int64, tag="4")]
|
|
|
|
pub date: i64,
|
|
|
|
#[prost(message, optional, tag="5")]
|
|
|
|
pub data: ::core::option::Option<::prost_types::Struct>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
|
|
pub struct EventItem {
|
|
|
|
#[prost(int64, tag="1")]
|
|
|
|
pub id: i64,
|
|
|
|
#[prost(string, tag="2")]
|
|
|
|
pub event: ::prost::alloc::string::String,
|
|
|
|
#[prost(string, tag="3")]
|
|
|
|
pub server: ::prost::alloc::string::String,
|
|
|
|
#[prost(int32, tag="4")]
|
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(int64, tag="5")]
|
|
|
|
pub date: i64,
|
|
|
|
#[prost(message, optional, tag="6")]
|
|
|
|
pub data: ::core::option::Option<::prost_types::Struct>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
|
|
pub struct LatestRequest {
|
|
|
|
#[prost(int64, optional, tag="1")]
|
|
|
|
pub date: ::core::option::Option<i64>,
|
|
|
|
#[prost(message, optional, tag="2")]
|
|
|
|
pub page: ::core::option::Option<Pagination>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
|
|
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)]
|
|
|
|
pub struct LatestResponse {
|
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub events: ::prost::alloc::vec::Vec<EventItem>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
|
|
pub struct NullResponse {
|
|
|
|
}
|
|
|
|
include!("events.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|