Composite Pattern with Rust