* Copy struct (shallow copy) * @this {!BalanceMessage} * @param {!BalanceMessage} other Other struct * @returns {!BalanceMessage} This struct
(other)
| 4880 | * @returns {!BalanceMessage} This struct |
| 4881 | */ |
| 4882 | copy (other) { |
| 4883 | if (other.body != null) { |
| 4884 | this.body = Balance.fromObject(other.body) |
| 4885 | } else { |
| 4886 | this.body = undefined |
| 4887 | } |
| 4888 | return this |
| 4889 | } |
| 4890 | |
| 4891 | /** |
| 4892 | * Clone struct (deep clone) |
nothing calls this directly
no test coverage detected