📄️ Intro
You'll now start to model the business domain. No low level systems programming here, let's build something real together.
📄️ Data Types
By convention, variables in Rust use snake case _ instead of camel case
📄️ Shadowing
When you're working with Rust, you'll often encounter a concept called shadowing. Here's how it works:
📄️ Functions
Functions in Rust are similar to methods in C#, but with some important differences in syntax and behavior.
📄️ Structs and Classes
In Rust, you'll use struct as the primary way to organize related data, similar to how you'd use classes in .NET:
📄️ Enums
When you work with Rust, you'll find that enums are much more powerful than in .NET. In Rust, enums can have properties:
📄️ Challenge
Expand the functionality of the UserDetails struct a little bit: