Implementation for data types:
Bool
— represented asbool
.Int32
— represented asint
.Int64
— represented aslong
.Float32
— represented asfloat
.Float64
— represented asdouble
.String
— represented asstring
.Option<T>
— ifT
is already nullable, represented same asT
withnull
considered valid value. Otherwise, represented asT?
Vec<T>
— represented asT[]
.Map<K, V>
— represented asSystem.Collections.Generic.IDictionary<K, V>
.Struct
— represented as a regular struct.Enum
— represented as a regular enum.OneOf
— represented as an abstract class with each variant inheriting from it.