Function GenericDatum.opIndex

For records/maps, looks up a record with name.

ref inout inout(GenericDatum) opIndex (
  string name
);

ref inout inout(GenericDatum) opIndex (
  int idx
);