pub enum BusinessPersona {
SmallBusiness,
MidMarket,
Enterprise,
Startup,
CashIntensive,
ImportExport,
MoneyServices,
ProfessionalServices,
}Expand description
Business customer persona for behavioral modeling.
Variants§
SmallBusiness
Small business (<$1M annual revenue)
MidMarket
Medium business ($1M-$50M)
Enterprise
Large enterprise (>$50M)
Startup
Startup / early stage
CashIntensive
Cash-intensive business (retail, restaurants)
ImportExport
Import/export business
MoneyServices
Money services business
ProfessionalServices
Professional services (law, accounting)
Implementations§
Source§impl BusinessPersona
impl BusinessPersona
Sourcepub fn turnover_range(&self) -> (u64, u64)
pub fn turnover_range(&self) -> (u64, u64)
Expected monthly turnover range in local currency units.
Sourcepub fn base_risk_score(&self) -> u8
pub fn base_risk_score(&self) -> u8
Base risk score (1-10).
Sourcepub fn requires_enhanced_dd(&self) -> bool
pub fn requires_enhanced_dd(&self) -> bool
Whether this business type requires enhanced due diligence.
Sourcepub fn cash_deposit_frequency(&self) -> (u32, u32)
pub fn cash_deposit_frequency(&self) -> (u32, u32)
Typical cash deposit frequency (transactions per month).
Trait Implementations§
Source§impl Clone for BusinessPersona
impl Clone for BusinessPersona
Source§fn clone(&self) -> BusinessPersona
fn clone(&self) -> BusinessPersona
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 BusinessPersona
impl Debug for BusinessPersona
Source§impl<'de> Deserialize<'de> for BusinessPersona
impl<'de> Deserialize<'de> for BusinessPersona
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 BusinessPersona
impl Hash for BusinessPersona
Source§impl PartialEq for BusinessPersona
impl PartialEq for BusinessPersona
Source§impl Serialize for BusinessPersona
impl Serialize for BusinessPersona
impl Copy for BusinessPersona
impl Eq for BusinessPersona
impl StructuralPartialEq for BusinessPersona
Auto Trait Implementations§
impl Freeze for BusinessPersona
impl RefUnwindSafe for BusinessPersona
impl Send for BusinessPersona
impl Sync for BusinessPersona
impl Unpin for BusinessPersona
impl UnsafeUnpin for BusinessPersona
impl UnwindSafe for BusinessPersona
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.