| 33094 | } |
| 33095 | |
| 33096 | func (p *IClientRPCServiceInsertRecordResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 33097 | if err := oprot.WriteStructBegin(ctx, "insertRecord_result"); err != nil { |
| 33098 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 33099 | if p != nil { |
| 33100 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 33101 | } |
| 33102 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 33103 | return thrift.PrependError("write field stop error: ", err) } |
| 33104 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 33105 | return thrift.PrependError("write struct stop error: ", err) } |
| 33106 | return nil |
| 33107 | } |
| 33108 | |
| 33109 | func (p *IClientRPCServiceInsertRecordResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 33110 | if p.IsSetSuccess() { |