use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct UserLog {
pub address: String,
pub user_id: u64,
pub extra_data: String, pub action: String,
pub id: u64,
pub ip_address: String,
pub category: String,
pub resource_name: String,
pub user_agent: String,
pub status: String,
pub timestamp: String, }
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Message {
pub publishTime: String, pub createdAt: String, pub id: u64, pub title: String, pub priority: u8, pub user: bool, }