use core::fmt;
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct IdMap {
pub container_id: u32,
pub host_id: u32,
pub size: u32,
}
impl fmt::Debug for IdMap {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let json = serde_json::to_string_pretty(self).map_err(|_| fmt::Error)?;
f.write_str(&json)
}
}