pub struct ExpenseConfig {
pub enabled: bool,
pub submission_rate: f64,
pub policy_violation_rate: f64,
}Expand description
Expense management configuration.
Fields§
§enabled: boolEnable expense report generation
submission_rate: f64Rate of employees submitting expenses per month
policy_violation_rate: f64Rate of policy violations
Trait Implementations§
Source§impl Clone for ExpenseConfig
impl Clone for ExpenseConfig
Source§fn clone(&self) -> ExpenseConfig
fn clone(&self) -> ExpenseConfig
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 ExpenseConfig
impl Debug for ExpenseConfig
Source§impl Default for ExpenseConfig
impl Default for ExpenseConfig
Source§impl<'de> Deserialize<'de> for ExpenseConfig
impl<'de> Deserialize<'de> for ExpenseConfig
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
Auto Trait Implementations§
impl Freeze for ExpenseConfig
impl RefUnwindSafe for ExpenseConfig
impl Send for ExpenseConfig
impl Sync for ExpenseConfig
impl Unpin for ExpenseConfig
impl UnwindSafe for ExpenseConfig
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