An example on how to build your own custom type using easy_type