(ctx context.Context, oprot thrift.TProtocol)
| 28676 | } |
| 28677 | |
| 28678 | func (p *IClientRPCServiceOpenSessionResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 28679 | if p.IsSetSuccess() { |
| 28680 | if err := oprot.WriteFieldBegin(ctx, "success", thrift.STRUCT, 0); err != nil { |
| 28681 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 0:success: ", p), err) } |
| 28682 | if err := p.Success.Write(ctx, oprot); err != nil { |
| 28683 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Success), err) |
| 28684 | } |
| 28685 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 28686 | return thrift.PrependError(fmt.Sprintf("%T write field end error 0:success: ", p), err) } |
| 28687 | } |
| 28688 | return err |
| 28689 | } |
| 28690 | |
| 28691 | func (p *IClientRPCServiceOpenSessionResult) String() string { |
| 28692 | if p == nil { |
no test coverage detected