Type 'Recipe' does not conform to protocol 'Identifiable'

When I struct my SwiftUI View named Recipe and I assign Hashable, Codable, and Identifiable to it, I get an error saying:
Type 'Recipe' does not conform to protocol 'Identifiable'. Then when I try to add Protocol Stubbs the error message changes to Type 'Recipe' does not conform to protocol 'Decodable' and Type 'Recipe' does not conform to protocol 'Encodable'

When I struct my SwiftUI View named Recipe and I assign Hashable, Codable, and Identifiable to it,

You usually do not make a View Hashable, Codable nor Identifiable.
You make a model type as Hashable, Codable and Identifiable, and construct the view to represent the model.

Anyway, please show your code.
Type 'Recipe' does not conform to protocol 'Identifiable'
 
 
Q