# Lesson 5: Structs and enums This lesson covers structs and enums. You'll read a short explanation, try three small exercises and finish with a quiz. Full lesson: [https://glibcode.net/courses/rust-ownership/lessons/5](https://glibcode.net/courses/rust-ownership/lessons/5) ## Files - `src/main.rs`: structs with methods and an enum ## Run it ```sh cargo run ``` ## Exercises See [exercises.md](exercises.md). Ask in the forum once you've tried.