#[repr(u8)]pub enum BankPrefix {
Show 27 variants
Anz = 1,
Bnz = 2,
Westpac = 3,
AnzWise = 4,
ChinaConstruction = 5,
AnzNational = 6,
Nab = 8,
Icbc = 10,
AnzPostBank = 11,
Asb = 12,
WestpacTrust = 13,
WestpacOtago = 14,
Tsb = 15,
WestpacSouthland = 16,
WestpacBop = 17,
WestpacCanterbury = 18,
WestpacWaikato = 19,
WestpacWellington = 20,
WestpacWestland = 21,
WestpacSouthCant = 22,
WestpacAuckland = 23,
AsbPartner = 24,
AnzPartner = 25,
Hsbc = 30,
Citibank = 31,
Kiwibank = 38,
BankOfChina = 88,
}Expand description
Represents the specific Bank/Financial Institution based on the 2-digit prefix.
Each bank in New Zealand uses a specific 2-digit prefix in their account numbers. This enum identifies the bank from the prefix.
Variants§
Anz = 1
ANZ (prefix: 01)
Bnz = 2
Bank of New Zealand (prefix: 02)
Westpac = 3
Westpac (prefix: 03)
AnzWise = 4
ANZ Wise (prefix: 04)
ChinaConstruction = 5
China Construction Bank (prefix: 05)
AnzNational = 6
ANZ National (prefix: 06)
Nab = 8
NAB (prefix: 08)
Icbc = 10
ICBC (prefix: 10)
AnzPostBank = 11
ANZ PostBank (prefix: 11)
Asb = 12
ASB (prefix: 12)
WestpacTrust = 13
Westpac Trust (prefix: 13)
WestpacOtago = 14
Westpac Otago (prefix: 14)
Tsb = 15
TSB (prefix: 15)
WestpacSouthland = 16
Westpac Southland (prefix: 16)
WestpacBop = 17
Westpac Bay of Plenty (prefix: 17)
WestpacCanterbury = 18
Westpac Canterbury (prefix: 18)
WestpacWaikato = 19
Westpac Waikato (prefix: 19)
WestpacWellington = 20
Westpac Wellington (prefix: 20)
WestpacWestland = 21
Westpac Westland (prefix: 21)
WestpacSouthCant = 22
Westpac South Canterbury (prefix: 22)
WestpacAuckland = 23
Westpac Auckland (prefix: 23)
AsbPartner = 24
ASB Partner (prefix: 24)
AnzPartner = 25
ANZ Partner (prefix: 25)
Hsbc = 30
HSBC (prefix: 30)
Citibank = 31
Citibank (prefix: 31)
Kiwibank = 38
Kiwibank (prefix: 38)
BankOfChina = 88
Bank of China (prefix: 88)
Implementations§
Trait Implementations§
Source§impl Clone for BankPrefix
impl Clone for BankPrefix
Source§fn clone(&self) -> BankPrefix
fn clone(&self) -> BankPrefix
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more