pub enum BankAccountType {
Checking,
Savings,
MoneyMarket,
CertificateOfDeposit,
BusinessOperating,
BusinessSavings,
TrustAccount,
Investment,
ForeignCurrency,
Escrow,
Payroll,
}Expand description
Type of bank account.
Variants§
Checking
Standard checking/current account
Savings
Savings account
MoneyMarket
Money market account
CertificateOfDeposit
Certificate of deposit
BusinessOperating
Business operating account
BusinessSavings
Business savings account
TrustAccount
Trust account
Investment
Investment account
ForeignCurrency
Foreign currency account
Escrow
Escrow account
Payroll
Payroll account
Implementations§
Source§impl BankAccountType
impl BankAccountType
Sourcepub fn is_high_volume(&self) -> bool
pub fn is_high_volume(&self) -> bool
Whether this account type typically has high transaction volume.
Sourcepub fn is_business(&self) -> bool
pub fn is_business(&self) -> bool
Whether this is a business account type.
Sourcepub fn typical_min_balance(&self) -> u32
pub fn typical_min_balance(&self) -> u32
Typical minimum balance requirement.
Sourcepub fn risk_weight(&self) -> f64
pub fn risk_weight(&self) -> f64
Risk weight for AML scoring.
Trait Implementations§
Source§impl Clone for BankAccountType
impl Clone for BankAccountType
Source§fn clone(&self) -> BankAccountType
fn clone(&self) -> BankAccountType
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 BankAccountType
impl Debug for BankAccountType
Source§impl Default for BankAccountType
impl Default for BankAccountType
Source§fn default() -> BankAccountType
fn default() -> BankAccountType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BankAccountType
impl<'de> Deserialize<'de> for BankAccountType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BankAccountType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BankAccountType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BankAccountType
impl Hash for BankAccountType
Source§impl PartialEq for BankAccountType
impl PartialEq for BankAccountType
Source§impl Serialize for BankAccountType
impl Serialize for BankAccountType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BankAccountType
impl Eq for BankAccountType
impl StructuralPartialEq for BankAccountType
Auto Trait Implementations§
impl Freeze for BankAccountType
impl RefUnwindSafe for BankAccountType
impl Send for BankAccountType
impl Sync for BankAccountType
impl Unpin for BankAccountType
impl UnwindSafe for BankAccountType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.