Some ideas on handling this type of situation are in Borrowing issue, trying to avoid redundancy - #2 by vitalyd. Then a particular case is looked at in Approach to modify a struct using helpers within the struct? - #4 by vitalyd.
1 Like