Type Definition gorrosion_gtp::gtp_type::Collection
source · pub type Collection = Value;
Expand description
A heterogenous tuple.
The spec says
[A pair
(x, y)
where]x
andy
may be any combination of simple entities. The construction can be generalized to any fixed number of entities.
I was not able to determine whether tuples of length 0 and 1 are allowed so we do the simpler thing and include them in our abstraction.