//! Ban record type used across the crate.
usestd::net::IpAddr;useserde::{Deserialize, Serialize};/// A single ban record.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]pubstructBanRecord{/// The banned IP address.
pubip: IpAddr,
/// Which jail triggered the ban.
pubjail_id: String,
/// When the ban was applied (unix timestamp).
pubbanned_at:i64,
/// When the ban expires (`None` = permanent).
pubexpires_at:Option<i64>,
}