Sistema de inventario mobiliario
let mut items = Vec::new(); items.push(Item { item_name: String::from("Silla"), item_quantity: 1, item_location: String::from("Cuarto de estudio"), }); items.push(Item { item_name: String::from("Mesa"), item_quantity: 1, item_location: String::from("Cuarto de estudio"), }); items.push(Item { item_name: String::from("Refrigerador"), item_quantity: 1, item_location: String::from("Cocina"), }); items.push(Item { item_name: String::from("Microondas"), item_quantity: 1, item_location: String::from("Cocina"), }); println!("{:?}", items);