1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::{dto::prelude::*, log::Level}; // // LogEntry // #[derive(CandidType, Deserialize)] pub struct LogEntry { pub crate_name: String, pub created_at: u64, pub level: Level, pub topic: Option<String>, pub message: String, }