func (p *ContainerOfEnums) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("first", thrift.I32, 1), thrift.NewTField("second", thrift.I32, 2), thrift.NewTField("third", thrift.I32, 3), thrift.NewTField("optional_fourth", thrift.I32, 4), thrift.NewTField("optional_fifth", thrift.I32, 5), thrift.NewTField("optional_sixth", thrift.I32, 6), thrift.NewTField("default_seventh", thrift.I32, 7), thrift.NewTField("default_eighth", thrift.I32, 8), thrift.NewTField("default_nineth", thrift.I32, 9), }) }
func (p *EchoArgs) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("message", thrift.STRUCT, 1), }) }
func (p *EchoResult) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("success", thrift.STRUCT, 0), }) }
func (p *Reservation) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("queue", thrift.STRING, 1), thrift.NewTField("secret", thrift.STRING, 2), }) }