Files
oxspeak_server/src/routes/gateway/events.rs
T
2026-07-04 16:19:43 +02:00

9 lines
169 B
Rust

use serde::Serialize;
#[derive(Serialize)]
pub struct GatewayEvent<T: Serialize> {
pub namespace: &'static str,
pub action: &'static str,
pub content: T,
}