telemetry_protocol 0.1.1

Message sended between servers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{ Serialize, Deserialize };
use std::vec::Vec;

#[derive(Serialize, Deserialize)]
pub struct TelemetryProtocol{
    pub from_domain: String,
    pub from_user: String,
    pub to_domain: String,
    pub to_user: String,
    pub message_type: String,
    pub message: Vec<String>

}