Ok, it turns out that it was a stupid mistake because as a result of copy-pasting I derived Clone trait for my enum... Removing it solved the issue.
Clone