Let's take a quick look at the updated animation documentation.
Link to Apple's documentation.
developer.apple.com/documentation/swiftui/view/animation(_:value:)
Here's a snip:
Applies the given animation to this view when the specified value changes.
The old definition just asked you to supply the type of animation to apply. (.linear, .default, .easeIn, etc.)
The new definition requires an additional parameter, a value. What kind of value? The method says it will take any type of value (noted as a generic V) as long as that value conforms to the Equatable protocol.
More importantly, the method states that this particular animation will be applied when that value changes.
You may have many vars in your struct. This definition will apply the animation only when the var you supply is changed. Superb!
So getting back to the meat of your question.... what variable in your struct is changing? More directly, you want some animation to occur when which value changes?