| 33886 | } |
| 33887 | |
| 33888 | func (p *IClientRPCServiceInsertRecordsResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 33889 | if err := oprot.WriteStructBegin(ctx, "insertRecords_result"); err != nil { |
| 33890 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 33891 | if p != nil { |
| 33892 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 33893 | } |
| 33894 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 33895 | return thrift.PrependError("write field stop error: ", err) } |
| 33896 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 33897 | return thrift.PrependError("write struct stop error: ", err) } |
| 33898 | return nil |
| 33899 | } |
| 33900 | |
| 33901 | func (p *IClientRPCServiceInsertRecordsResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 33902 | if p.IsSetSuccess() { |