pub enum AccountClass {
Checking,
Savings,
FixedDeposit,
Depot,
Loan,
CreditCard,
FundDepot,
HomeSavings,
Insurance,
Other,
}Available on non-crate feature
tooling only.Expand description
What kind of account a UPD entry is, from its “Kontoart” (Formals, data dictionary). The spec assigns each tens range one kind; the values inside a range are the bank’s own.
Variants§
Checking
Kontoart 1 to 9, current account (Kontokorrent-/Girokonto).
Savings
Kontoart 10 to 19, savings account.
FixedDeposit
Kontoart 20 to 29, time deposit (Festgeld).
Depot
Kontoart 30 to 39, securities account.
Loan
Kontoart 40 to 49, loan.
CreditCard
Kontoart 50 to 59, credit card.
FundDepot
Kontoart 60 to 69, fund account held at an investment company.
HomeSavings
Kontoart 70 to 79, building savings contract (Bausparen).
Insurance
Kontoart 80 to 89, insurance contract.
Other
Kontoart 90 to 99, anything else.
Implementations§
Source§impl AccountClass
impl AccountClass
Sourcepub fn from_account_type(account_type: u8) -> Option<Self>
pub fn from_account_type(account_type: u8) -> Option<Self>
The kind for a Kontoart; None outside 1 to 99.
Trait Implementations§
Source§impl Clone for AccountClass
impl Clone for AccountClass
impl Copy for AccountClass
Source§impl Debug for AccountClass
impl Debug for AccountClass
Source§impl<'de> Deserialize<'de> for AccountClass
impl<'de> Deserialize<'de> for AccountClass
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
impl Eq for AccountClass
Source§impl PartialEq for AccountClass
impl PartialEq for AccountClass
Source§impl Serialize for AccountClass
impl Serialize for AccountClass
impl StructuralPartialEq for AccountClass
Auto Trait Implementations§
impl Forget for AccountClass
impl Freeze for AccountClass
impl Move for AccountClass
impl RefUnwindSafe for AccountClass
impl Send for AccountClass
impl Sync for AccountClass
impl Unpin for AccountClass
impl UnsafeUnpin for AccountClass
impl UnwindSafe for AccountClass
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