1 2 3 4 5 6 7
#[derive(Debug, Clone, Copy, Default)] pub struct MemorySnapshot { pub ram_used_bytes: u64, pub ram_total_bytes: u64, pub swap_used_bytes: u64, pub swap_total_bytes: u64, }