pub enum SourceOfFunds {
Show 15 variants
Employment,
SelfEmployment,
Investments,
Inheritance,
Gift,
PropertySale,
Pension,
GovernmentBenefits,
GamblingWinnings,
LegalSettlement,
Loan,
Insurance,
CryptoAssets,
Other,
Unknown,
}Expand description
Source of funds classification.
Variants§
Employment
Regular employment income
SelfEmployment
Self-employment / business income
Investments
Investment returns
Inheritance
Inheritance
Gift
Gift
PropertySale
Sale of property
Pension
Pension / retirement
GovernmentBenefits
Government benefits
GamblingWinnings
Lottery / gambling winnings
LegalSettlement
Legal settlement
Loan
Loan proceeds
Insurance
Insurance payout
CryptoAssets
Crypto / digital assets
Other
Other
Unknown
Unknown / undeclared
Implementations§
Source§impl SourceOfFunds
impl SourceOfFunds
Sourcepub fn risk_weight(&self) -> f64
pub fn risk_weight(&self) -> f64
Risk weight (1.0 = standard).
Sourcepub fn requires_documentation(&self) -> bool
pub fn requires_documentation(&self) -> bool
Whether documentation is typically required.
Trait Implementations§
Source§impl Clone for SourceOfFunds
impl Clone for SourceOfFunds
Source§fn clone(&self) -> SourceOfFunds
fn clone(&self) -> SourceOfFunds
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 SourceOfFunds
impl Debug for SourceOfFunds
Source§impl<'de> Deserialize<'de> for SourceOfFunds
impl<'de> Deserialize<'de> for SourceOfFunds
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 Hash for SourceOfFunds
impl Hash for SourceOfFunds
Source§impl PartialEq for SourceOfFunds
impl PartialEq for SourceOfFunds
Source§impl Serialize for SourceOfFunds
impl Serialize for SourceOfFunds
impl Copy for SourceOfFunds
impl Eq for SourceOfFunds
impl StructuralPartialEq for SourceOfFunds
Auto Trait Implementations§
impl Freeze for SourceOfFunds
impl RefUnwindSafe for SourceOfFunds
impl Send for SourceOfFunds
impl Sync for SourceOfFunds
impl Unpin for SourceOfFunds
impl UnwindSafe for SourceOfFunds
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.