#[derive(Debug, Clone, PartialEq, Eq)] pub struct Container { /// The Docker container ID id: String, } impl Container { pub fn new(id: impl Into) -> Self { Self { id: id.into() } } pub fn id(&self) -> &str { &self.id } }