pub enum CustomerValueSegment {
Enterprise,
MidMarket,
Smb,
Consumer,
}Expand description
Customer value segment classification.
Based on research showing typical B2B/B2C customer distributions.
Variants§
Enterprise
Enterprise customers (~5% of customers, ~40% of revenue)
MidMarket
Mid-market customers (~20% of customers, ~35% of revenue)
Smb
Small/medium business (~50% of customers, ~20% of revenue)
Consumer
Consumer/individual (~25% of customers, ~5% of revenue)
Implementations§
Source§impl CustomerValueSegment
impl CustomerValueSegment
Get the typical customer share percentage.
Get the typical revenue share percentage.
Sourcepub fn order_value_range(&self) -> (Decimal, Decimal)
pub fn order_value_range(&self) -> (Decimal, Decimal)
Get the typical order value range.
Sourcepub fn service_level(&self) -> &'static str
pub fn service_level(&self) -> &'static str
Get the typical service level.
Sourcepub fn typical_payment_terms_days(&self) -> u16
pub fn typical_payment_terms_days(&self) -> u16
Get the typical payment terms in days.
Sourcepub fn importance_score(&self) -> f64
pub fn importance_score(&self) -> f64
Get the strategic importance score.
Trait Implementations§
Source§impl Clone for CustomerValueSegment
impl Clone for CustomerValueSegment
Source§fn clone(&self) -> CustomerValueSegment
fn clone(&self) -> CustomerValueSegment
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 CustomerValueSegment
impl Debug for CustomerValueSegment
Source§impl Default for CustomerValueSegment
impl Default for CustomerValueSegment
Source§fn default() -> CustomerValueSegment
fn default() -> CustomerValueSegment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerValueSegment
impl<'de> Deserialize<'de> for CustomerValueSegment
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 CustomerValueSegment
impl Hash for CustomerValueSegment
Source§impl PartialEq for CustomerValueSegment
impl PartialEq for CustomerValueSegment
Source§impl Serialize for CustomerValueSegment
impl Serialize for CustomerValueSegment
impl Copy for CustomerValueSegment
impl Eq for CustomerValueSegment
impl StructuralPartialEq for CustomerValueSegment
Auto Trait Implementations§
impl Freeze for CustomerValueSegment
impl RefUnwindSafe for CustomerValueSegment
impl Send for CustomerValueSegment
impl Sync for CustomerValueSegment
impl Unpin for CustomerValueSegment
impl UnwindSafe for CustomerValueSegment
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.