Function find_account_by_name

Source
pub(crate) fn find_account_by_name<T>(
    accounts: &Vec<T>,
    name: &str,
) -> Option<T>
where T: Account + Clone,
Expand description

Search for an account by its name.