1 2 3 4 5 6 7 8 9 10
struct User { string name; uint count; } function clear_count(User memory user) { user.count = 0; } using {clear_count} for User global;