TFieldMeta

Compile-time metadata for a struct field.

Members

Variables

defaultValue
string defaultValue;

A code string containing a D expression for the default value, if there is one.

id
short id;

The (Thrift) id of the field.

name
string name;

The name of the field. Used for matching a TFieldMeta with the actual D struct member during code generation.

req
TReq req;

Whether the field is requried.

Meta