(ctx context.Context, oprot thrift.TProtocol)
| 28874 | } |
| 28875 | |
| 28876 | func (p *IClientRPCServiceCloseSessionResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 28877 | if p.IsSetSuccess() { |
| 28878 | if err := oprot.WriteFieldBegin(ctx, "success", thrift.STRUCT, 0); err != nil { |
| 28879 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 0:success: ", p), err) } |
| 28880 | if err := p.Success.Write(ctx, oprot); err != nil { |
| 28881 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Success), err) |
| 28882 | } |
| 28883 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 28884 | return thrift.PrependError(fmt.Sprintf("%T write field end error 0:success: ", p), err) } |
| 28885 | } |
| 28886 | return err |
| 28887 | } |
| 28888 | |
| 28889 | func (p *IClientRPCServiceCloseSessionResult) String() string { |
| 28890 | if p == nil { |
no test coverage detected