Structs
Structs are custom data types that you can define that can hold multiple values of different types that are related to each other. Think of structs like classes in Java, but with a few key differences.
Here's an example of a struct in Rust:
In this lesson we're going to learn about structs and the different types of structs including tuple structs, unit structs, and structs with named fields. We'll also learn how to define structs, use structs, different ways to create instances of structs, and how to define implementations for structs.