1
2
3
4
5
6
7
8
use serde::Serialize;

#[derive(Serialize)]
pub struct ConnectionInfo {
    pub active_connections: u32,
    pub seconds_inactive: u32,
    pub listening: bool,
}