Getting Started With Rust: Structs
As your Rust programs get larger, you’ll need better ways to organize related data. That’s where structs come in. A struct lets you group multiple pieces of related data together into your own custom type. Creating a Struct Let’s say…