1 2 3 4 5 6 7 8 9
use crate::composer::types::{ComposerResult, PortMapping}; pub struct PortsParser; impl PortsParser { pub fn parse_ports(ports: &[PortMapping]) -> ComposerResult<Vec<PortMapping>> { Ok(ports.to_vec()) } }