(ctx context.Context, oprot thrift.TProtocol)
| 31819 | } |
| 31820 | |
| 31821 | func (p *IClientRPCServiceSetStorageGroupResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 31822 | if p.IsSetSuccess() { |
| 31823 | if err := oprot.WriteFieldBegin(ctx, "success", thrift.STRUCT, 0); err != nil { |
| 31824 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 0:success: ", p), err) } |
| 31825 | if err := p.Success.Write(ctx, oprot); err != nil { |
| 31826 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Success), err) |
| 31827 | } |
| 31828 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 31829 | return thrift.PrependError(fmt.Sprintf("%T write field end error 0:success: ", p), err) } |
| 31830 | } |
| 31831 | return err |
| 31832 | } |
| 31833 | |
| 31834 | func (p *IClientRPCServiceSetStorageGroupResult) String() string { |
| 31835 | if p == nil { |
no test coverage detected