| 33292 | } |
| 33293 | |
| 33294 | func (p *IClientRPCServiceInsertStringRecordResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 33295 | if err := oprot.WriteStructBegin(ctx, "insertStringRecord_result"); err != nil { |
| 33296 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 33297 | if p != nil { |
| 33298 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 33299 | } |
| 33300 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 33301 | return thrift.PrependError("write field stop error: ", err) } |
| 33302 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 33303 | return thrift.PrependError("write struct stop error: ", err) } |
| 33304 | return nil |
| 33305 | } |
| 33306 | |
| 33307 | func (p *IClientRPCServiceInsertStringRecordResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 33308 | if p.IsSetSuccess() { |