Partial moves
Pattern bindings can have by-move
and by-reference
bindings at
the same time which is used in destructuring. Using these pattern
will result in partial move for the variable, which means that part
of the variable is moved while other parts stayed. In this case, the
parent variable cannot be used afterwards as a whole. However, parts
of it that are referenced and not moved can be used.