Q. Which trait must be implemented to allow a struct to be printed using println! with {:?}?
β
Correct Answer: (B)
Debug
Explanation: The {:?} formatter requires the Debug trait to be implemented for the type.