Function get_bank_by_bank_code

Source
pub fn get_bank_by_bank_code(bank_code: &str) -> Option<Bank>
Expand description

Retrieves the first bank with bank_code

Usually this is what you want unless you care about specific bank branches.

ยงExamples

use fints_institute_db::get_bank_by_bank_code;

let bank = get_bank_by_bank_code("12070000");
println!("{:?}", bank);