A pattern matching a struct does not specify sub-patterns for all of the struct's fields. Either name every field explicitly or use .. to ignore the remaining fields.
E0027
rust A pattern matching a struct does not specify sub-patterns for all of the struct's fields. Either name every field explicitly or use .. to ignore the remaining fields.