pub enum CounterpartyType {
Merchant,
Employer,
Utility,
Government,
FinancialInstitution,
Peer,
Atm,
SelfAccount,
Investment,
CryptoExchange,
Unknown,
}Expand description
Type of counterparty.
Variants§
Merchant
Merchant / retailer
Employer
Employer (salary source)
Utility
Utility company
Government
Government agency
FinancialInstitution
Financial institution
Peer
Peer (another individual)
Atm
ATM
SelfAccount
Own account (transfer)
Investment
Investment platform
CryptoExchange
Cryptocurrency exchange
Unknown
Unknown
Implementations§
Source§impl CounterpartyType
impl CounterpartyType
Sourcepub fn risk_weight(&self) -> f64
pub fn risk_weight(&self) -> f64
Risk weight for AML scoring.
Trait Implementations§
Source§impl Clone for CounterpartyType
impl Clone for CounterpartyType
Source§fn clone(&self) -> CounterpartyType
fn clone(&self) -> CounterpartyType
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 CounterpartyType
impl Debug for CounterpartyType
Source§impl<'de> Deserialize<'de> for CounterpartyType
impl<'de> Deserialize<'de> for CounterpartyType
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 CounterpartyType
impl Hash for CounterpartyType
Source§impl PartialEq for CounterpartyType
impl PartialEq for CounterpartyType
Source§impl Serialize for CounterpartyType
impl Serialize for CounterpartyType
impl Copy for CounterpartyType
impl Eq for CounterpartyType
impl StructuralPartialEq for CounterpartyType
Auto Trait Implementations§
impl Freeze for CounterpartyType
impl RefUnwindSafe for CounterpartyType
impl Send for CounterpartyType
impl Sync for CounterpartyType
impl Unpin for CounterpartyType
impl UnwindSafe for CounterpartyType
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.