pub enum PerpetratorDepartment {
Accounting,
Operations,
Executive,
Sales,
CustomerService,
Purchasing,
It,
HumanResources,
Administrative,
Warehouse,
BoardOfDirectors,
Other,
}Expand description
Department/position of perpetrator (from ACFE statistics).
Variants§
Accounting
Accounting, finance, or bookkeeping.
Operations
Operations or manufacturing.
Executive
Executive/upper management.
Sales
Sales.
CustomerService
Customer service.
Purchasing
Purchasing/procurement.
It
Information technology.
HumanResources
Human resources.
Administrative
Administrative/clerical.
Warehouse
Warehouse/inventory.
BoardOfDirectors
Board of directors.
Other
Other department.
Implementations§
Source§impl PerpetratorDepartment
impl PerpetratorDepartment
Sourcepub fn typical_occurrence_rate(&self) -> f64
pub fn typical_occurrence_rate(&self) -> f64
Returns the typical percentage of frauds by department (from ACFE reports).
Sourcepub fn typical_median_loss(&self) -> Decimal
pub fn typical_median_loss(&self) -> Decimal
Returns the typical median loss by perpetrator department.
Trait Implementations§
Source§impl Clone for PerpetratorDepartment
impl Clone for PerpetratorDepartment
Source§fn clone(&self) -> PerpetratorDepartment
fn clone(&self) -> PerpetratorDepartment
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 PerpetratorDepartment
impl Debug for PerpetratorDepartment
Source§impl<'de> Deserialize<'de> for PerpetratorDepartment
impl<'de> Deserialize<'de> for PerpetratorDepartment
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 PerpetratorDepartment
impl Hash for PerpetratorDepartment
Source§impl PartialEq for PerpetratorDepartment
impl PartialEq for PerpetratorDepartment
Source§impl Serialize for PerpetratorDepartment
impl Serialize for PerpetratorDepartment
impl Copy for PerpetratorDepartment
impl Eq for PerpetratorDepartment
impl StructuralPartialEq for PerpetratorDepartment
Auto Trait Implementations§
impl Freeze for PerpetratorDepartment
impl RefUnwindSafe for PerpetratorDepartment
impl Send for PerpetratorDepartment
impl Sync for PerpetratorDepartment
impl Unpin for PerpetratorDepartment
impl UnwindSafe for PerpetratorDepartment
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.