In my project I\'m frequently iterating through a vector of structs to find an object by some field value, then use some trait function on that object: