Skip to main content

ids_apis/
mmm.v1.notification.rs

1// @generated
2// This file is @generated by prost-build.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct CreateNotificationRequest {
6    /// 대상 사용자(또는 그룹/채널 키) //ex) "172.17.220.118"
7    #[prost(string, tag="1")]
8    pub user: ::prost::alloc::string::String,
9    /// 노티 본문
10    #[prost(string, tag="2")]
11    pub message: ::prost::alloc::string::String,
12}
13#[allow(clippy::derive_partial_eq_without_eq)]
14#[derive(Clone, PartialEq, ::prost::Message)]
15pub struct Notification {
16    /// 서버가 생성 (uuid 등)
17    #[prost(string, tag="1")]
18    pub id: ::prost::alloc::string::String,
19    /// 요청값 그대로
20    #[prost(string, tag="2")]
21    pub user: ::prost::alloc::string::String,
22    /// 요청값 그대로
23    #[prost(string, tag="3")]
24    pub message: ::prost::alloc::string::String,
25    /// 서버 생성 시각(ms)
26    #[prost(int64, tag="4")]
27    pub ts_ms: i64,
28    /// 서버가 기록한 발신자(IP or 서비스명)
29    #[prost(string, tag="5")]
30    pub source: ::prost::alloc::string::String,
31}
32include!("mmm.v1.notification.tonic.rs");
33include!("mmm.v1.notification.serde.rs");
34// @@protoc_insertion_point(module)