pub enum BankAccountKind {
Checking,
Savings,
CreditCard,
Loan,
Kiwisaver,
Investment,
TermDeposit,
Foreign,
Tax,
Rewards,
Wallet,
}Expand description
What sort of account this is. Akahu provides specific bank account types, and falls back to more general types for other types of connection.
Variants§
Checking
An everyday spending account.
Savings
A savings account.
NOTE: A savings account is not necessarily a regular bank account. It might not have transactions associated, or be able to receive payments. Check the attributes field to see what this account can do.
CreditCard
A credit card.
Loan
A loan account.
Kiwisaver
A KiwiSaver investment product.
Investment
A general investment product.
TermDeposit
A term deposit.
Foreign
An account holding a foreign currency.
Tax
An account with tax authorities.
Rewards
An account for rewards points, e.g. Fly Buys or True Rewards.
Wallet
Available cash for investment or withdrawal from an investment provider.
Implementations§
Trait Implementations§
Source§impl Clone for BankAccountKind
impl Clone for BankAccountKind
Source§fn clone(&self) -> BankAccountKind
fn clone(&self) -> BankAccountKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BankAccountKind
impl Debug for BankAccountKind
Source§impl<'de> Deserialize<'de> for BankAccountKind
impl<'de> Deserialize<'de> for BankAccountKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BankAccountKind
impl Display for BankAccountKind
Source§impl FromStr for BankAccountKind
impl FromStr for BankAccountKind
Source§impl PartialEq for BankAccountKind
impl PartialEq for BankAccountKind
Source§impl Serialize for BankAccountKind
impl Serialize for BankAccountKind
Source§impl TryFrom<&str> for BankAccountKind
impl TryFrom<&str> for BankAccountKind
Source§impl TryFrom<String> for BankAccountKind
impl TryFrom<String> for BankAccountKind
impl Eq for BankAccountKind
impl StructuralPartialEq for BankAccountKind
Auto Trait Implementations§
impl Freeze for BankAccountKind
impl RefUnwindSafe for BankAccountKind
impl Send for BankAccountKind
impl Sync for BankAccountKind
impl Unpin for BankAccountKind
impl UnwindSafe for BankAccountKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.