Struct — custom type with fields. Enum — type with variants.
Struct:
1struct Person {2 name: String,3 age: u32,4}56let person = Person {7 name: String::from("John"),8 age: 30,9};
Enum:
1enum Shape {2 Circle(f64),3 Rectangle(f64, f64),4 Square(f64),5}
Key differences: