Q. Which of the following is a valid way to define a struct in Rust?
β
Correct Answer: (A)
struct MyStruct { name: String }
Explanation: Rust uses the 'struct' keyword to define custom data types.