Mappings and structs for Solidity

this is the standard example for using a for auto loop (not a must have, only a nice to have)
for (auto member: members)
    if (member->getName == _name)
...