Refactor single variant Candidate
enum into a struct
#90633
Merged
Candidate
enum into a struct
#90633