--- created: "2019-02-27T08:59:59.250724Z" creator: insta@0.6.3 source: tests/output.rs expression: defs --- // This file was generated automatically /** * This message could be one of three shapes */ export namespace EnumSample { export type T = | { t: 'One' } | { t: 'Two', v: [StructSample, Boolean] } | { t: 'Three' }; } /** * Example of a struct/record type */ export namespace StructSample { export type T = { repeated_field: Thing.T optional_field?: type.T } }