pub enum VendorCluster {
ReliableStrategic,
StandardOperational,
Transactional,
Problematic,
}Expand description
Vendor cluster for behavioral grouping.
Based on research showing vendors typically cluster into 4 groups.
Variants§
ReliableStrategic
Reliable strategic partners (~20% of vendors)
StandardOperational
Standard operational vendors (~50% of vendors)
Transactional
Transactional vendors (~25% of vendors)
Problematic
Problematic vendors requiring monitoring (~5% of vendors)
Implementations§
Source§impl VendorCluster
impl VendorCluster
Sourcepub fn typical_distribution(&self) -> f64
pub fn typical_distribution(&self) -> f64
Get the typical distribution percentage for this cluster.
Sourcepub fn on_time_delivery_probability(&self) -> f64
pub fn on_time_delivery_probability(&self) -> f64
Get the on-time delivery probability.
Sourcepub fn quality_issue_probability(&self) -> f64
pub fn quality_issue_probability(&self) -> f64
Get the quality issue probability.
Sourcepub fn invoice_accuracy_probability(&self) -> f64
pub fn invoice_accuracy_probability(&self) -> f64
Get the invoice accuracy probability.
Trait Implementations§
Source§impl Clone for VendorCluster
impl Clone for VendorCluster
Source§fn clone(&self) -> VendorCluster
fn clone(&self) -> VendorCluster
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 VendorCluster
impl Debug for VendorCluster
Source§impl Default for VendorCluster
impl Default for VendorCluster
Source§fn default() -> VendorCluster
fn default() -> VendorCluster
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VendorCluster
impl<'de> Deserialize<'de> for VendorCluster
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 VendorCluster
impl Hash for VendorCluster
Source§impl PartialEq for VendorCluster
impl PartialEq for VendorCluster
Source§impl Serialize for VendorCluster
impl Serialize for VendorCluster
impl Copy for VendorCluster
impl Eq for VendorCluster
impl StructuralPartialEq for VendorCluster
Auto Trait Implementations§
impl Freeze for VendorCluster
impl RefUnwindSafe for VendorCluster
impl Send for VendorCluster
impl Sync for VendorCluster
impl Unpin for VendorCluster
impl UnwindSafe for VendorCluster
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.