Is it enough to compare structs?