Creating Discriminants from Struct Properties in Discriminated Unions - Effect Community