rust_wheel 0.1.13

A project to define some public component.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Serialize, Deserialize};

/**
 * this jwt payload used for the customer client
 * maybe different with the bizinesse client
 */
#[derive(Serialize, Deserialize, Clone)]
#[allow(non_snake_case)]
pub struct WebJwtPayload {
    pub userId: i64, 
    pub deviceId: String,
    pub appId: String,
    pub lt: i32,
    pub et: i64,
    pub pid: i32,
    pub exp: usize,
}