2024-11-28 05:12:22 +00:00
|
|
|
// @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 IdMessage {
|
|
|
|
#[prost(string, tag="1")]
|
|
|
|
pub session_id: ::prost::alloc::string::String,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-11-29 04:10:00 +00:00
|
|
|
pub struct SessionUserResponse {
|
|
|
|
#[prost(uint64, tag="1")]
|
2024-11-28 05:12:22 +00:00
|
|
|
#[serde(rename = "UserID")]
|
|
|
|
pub user_id: u64,
|
2024-11-29 04:10:00 +00:00
|
|
|
#[prost(string, tag="2")]
|
2024-11-28 05:12:22 +00:00
|
|
|
pub username: ::prost::alloc::string::String,
|
2024-11-29 04:10:00 +00:00
|
|
|
#[prost(string, tag="3")]
|
|
|
|
pub avatar_url: ::prost::alloc::string::String,
|
2024-11-28 05:12:22 +00:00
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
pub struct RoleReponse {
|
2024-11-29 08:12:29 +00:00
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub roles: ::prost::alloc::vec::Vec<RoleItem>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
pub struct RoleItem {
|
|
|
|
#[prost(string, tag="1")]
|
|
|
|
#[serde(rename = "ID")]
|
|
|
|
pub id: ::prost::alloc::string::String,
|
|
|
|
#[prost(string, tag="2")]
|
|
|
|
pub display_name: ::prost::alloc::string::String,
|
|
|
|
#[prost(int32, tag="3")]
|
|
|
|
pub rank: i32,
|
2024-11-28 05:12:22 +00:00
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
pub struct ValidateResponse {
|
|
|
|
#[prost(bool, tag="1")]
|
|
|
|
pub valid: bool,
|
|
|
|
}
|
|
|
|
include!("auth.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|