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 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct IdList {
|
|
|
|
#[prost(int64, repeated, tag="1")]
|
|
|
|
pub id: ::prost::alloc::vec::Vec<i64>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct IdMessage {
|
|
|
|
#[prost(int64, tag="1")]
|
|
|
|
pub id: i64,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct UserResponse {
|
|
|
|
#[prost(int64, tag="1")]
|
|
|
|
pub id: i64,
|
|
|
|
#[prost(string, tag="2")]
|
|
|
|
pub username: ::prost::alloc::string::String,
|
|
|
|
#[prost(int32, tag="3")]
|
|
|
|
pub state_id: i32,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct UserRequest {
|
|
|
|
#[prost(int64, tag="1")]
|
|
|
|
pub id: i64,
|
|
|
|
#[prost(string, optional, tag="2")]
|
|
|
|
pub username: ::core::option::Option<::prost::alloc::string::String>,
|
|
|
|
#[prost(int32, optional, tag="3")]
|
|
|
|
pub state_id: ::core::option::Option<i32>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct UserFilter {
|
|
|
|
#[prost(int64, optional, tag="1")]
|
|
|
|
pub id: ::core::option::Option<i64>,
|
|
|
|
#[prost(string, optional, tag="2")]
|
|
|
|
pub username: ::core::option::Option<::prost::alloc::string::String>,
|
|
|
|
#[prost(int32, optional, tag="3")]
|
|
|
|
pub state_id: ::core::option::Option<i32>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct UserList {
|
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub users: ::prost::alloc::vec::Vec<UserResponse>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ListRequest {
|
|
|
|
#[prost(message, optional, tag="1")]
|
|
|
|
pub filter: ::core::option::Option<UserFilter>,
|
|
|
|
#[prost(message, optional, tag="2")]
|
|
|
|
pub page: ::core::option::Option<Pagination>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
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 19:58:42 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct NullResponse {
|
|
|
|
}
|
|
|
|
include!("users.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|