Rakuten interview question

Basic swift questions Protocol Extension class vs struct