shinemonitor 0.1.2

Rust library for the shinemonitor.com website
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(missing_docs)]
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct AuthDat {
    pub secret: String,
    pub expire: u32,
    pub token: String,
    pub role: u8,
    pub usr: String,
    pub uid: u32,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Auth {
    pub err: u8,
    pub desc: String,
    pub dat: AuthDat,
}