pub mod container; pub mod serverclientcomm; use std::error::Error; use crate::models::DockerContainer; #[derive(Debug, Clone)] pub struct DockerInfo { pub number: Option, pub net_in_total: Option, pub net_out_total: Option, pub dockers: Option>, } impl DockerInfo { pub async fn collect() -> Result> { Ok(Self { number: None, net_in_total: None, net_out_total: None, dockers: None }) } }