The type of the value contained in the union field.
The type of the value contained in the union field.
For unknown union fields, this will be Unit
.
the ContainedType
type param on ThriftUnionFieldInfo
The value of this union field.
The value of this union field.
For unknown union fields, this will be ()
, the instance of Unit
.
The ThriftStructFieldInfo for this part of union.
The ThriftStructFieldInfo for this part of union.
Returns None
if this represents an unknown union field.
Unions are tagged with this trait as well as with ThriftStruct.