* Copy struct (shallow copy) * @this {!AccountMessage} * @param {!AccountMessage} other Other struct * @returns {!AccountMessage} This struct
(other)
| 5679 | * @returns {!AccountMessage} This struct |
| 5680 | */ |
| 5681 | copy (other) { |
| 5682 | if (other.body != null) { |
| 5683 | this.body = Account.fromObject(other.body) |
| 5684 | } else { |
| 5685 | this.body = undefined |
| 5686 | } |
| 5687 | return this |
| 5688 | } |
| 5689 | |
| 5690 | /** |
| 5691 | * Clone struct (deep clone) |
nothing calls this directly
no test coverage detected