* Copy struct (shallow copy) * @this {!OrderMessage} * @param {!OrderMessage} other Other struct * @returns {!OrderMessage} This struct
(other)
| 3930 | * @returns {!OrderMessage} This struct |
| 3931 | */ |
| 3932 | copy (other) { |
| 3933 | if (other.body != null) { |
| 3934 | this.body = Order.fromObject(other.body) |
| 3935 | } else { |
| 3936 | this.body = undefined |
| 3937 | } |
| 3938 | return this |
| 3939 | } |
| 3940 | |
| 3941 | /** |
| 3942 | * Clone struct (deep clone) |
nothing calls this directly
no test coverage detected