You can define all of this member types inside a class or record declaration:
Interface types only allow method, property and event declarations. Classes and records allow declaring nested types.
The Freya Programming Language
Program and file structure
Type declarations
Statements
Expressions