pub enum SourceOfWealth {
CareerEarnings,
Inheritance,
BusinessOwnership,
Investments,
RealEstate,
BusinessSale,
EquityEvent,
ProfessionalPractice,
Entertainment,
CryptoAssets,
Other,
}Expand description
Source of wealth classification (for HNW customers).
Variants§
CareerEarnings
Built through employment/career
Inheritance
Inherited wealth
BusinessOwnership
Business ownership
Investments
Investment appreciation
RealEstate
Real estate appreciation
BusinessSale
Sale of business
EquityEvent
IPO / equity event
ProfessionalPractice
Professional practice (doctor, lawyer)
Entertainment
Entertainment / sports
CryptoAssets
Crypto / digital assets
Other
Other
Implementations§
Source§impl SourceOfWealth
impl SourceOfWealth
Sourcepub fn risk_weight(&self) -> f64
pub fn risk_weight(&self) -> f64
Risk weight (1.0 = standard).
Trait Implementations§
Source§impl Clone for SourceOfWealth
impl Clone for SourceOfWealth
Source§fn clone(&self) -> SourceOfWealth
fn clone(&self) -> SourceOfWealth
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 SourceOfWealth
impl Debug for SourceOfWealth
Source§impl<'de> Deserialize<'de> for SourceOfWealth
impl<'de> Deserialize<'de> for SourceOfWealth
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 SourceOfWealth
impl Hash for SourceOfWealth
Source§impl PartialEq for SourceOfWealth
impl PartialEq for SourceOfWealth
Source§impl Serialize for SourceOfWealth
impl Serialize for SourceOfWealth
impl Copy for SourceOfWealth
impl Eq for SourceOfWealth
impl StructuralPartialEq for SourceOfWealth
Auto Trait Implementations§
impl Freeze for SourceOfWealth
impl RefUnwindSafe for SourceOfWealth
impl Send for SourceOfWealth
impl Sync for SourceOfWealth
impl Unpin for SourceOfWealth
impl UnwindSafe for SourceOfWealth
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.