// @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")] pub struct SessionResponse { #[prost(string, tag="1")] pub session_id: ::prost::alloc::string::String, #[prost(uint64, tag="2")] #[serde(rename = "UserID")] pub user_id: u64, #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, #[prost(uint64, tag="4")] pub created: u64, #[prost(uint64, tag="5")] pub expires: u64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] #[serde(rename_all = "PascalCase")] pub struct RoleReponse { #[prost(uint32, tag="1")] pub role: u32, } #[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)