100% Rust Solution
Simple Rust Solution\n\npub struct ParkingSystem {\n    pub spaces: Vec<i32>\n}\n\nimpl ParkingSystem {\n\n    pub fn new(big: i32, medium: i32, small: i32) -> 
Simple Rust Solution\n```\npub struct ParkingSystem {\n    pub spaces: Vec<i32>\n}\n\nimpl ParkingSystem {\n\n    pub fn new(big: i32, medium: i32, small: i32) -> Self {\n        Self{\n            spaces: vec![big, medium, small]\n        }\n    }\n\n    pub fn add_car(&mut self, car_type: i32) -> bool {\n        if self.spaces[(car_type - 1) as usize] > 0{\n            self.spaces[(car_type - 1) as usize] -= 1;\n            return true;\n        }\n        return false;\n    }\n}\n```
['Rust']