The struct, record or union type '{0}' is not structurally comparable because the type parameter {1} does not satisfy the ...

The struct, record or union type '{0}' is not structurally comparable because the type parameter {1} does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '{2}' to clarify that the type is not comparable