* Copy struct (shallow copy) * @this {!OrderMessage} * @param {!OrderMessage} other Other struct * @returns {!OrderMessage} This struct
(other)
| 4081 | * @returns {!OrderMessage} This struct |
| 4082 | */ |
| 4083 | copy (other) { |
| 4084 | if (other.body != null) { |
| 4085 | this.body = Order.fromObject(other.body) |
| 4086 | } else { |
| 4087 | this.body = undefined |
| 4088 | } |
| 4089 | return this |
| 4090 | } |
| 4091 | |
| 4092 | /** |
| 4093 | * Clone struct (deep clone) |
nothing calls this directly
no test coverage detected