pub struct HierarchyConfig {
pub enabled: bool,
pub hierarchy_rate: f64,
pub max_depth: usize,
pub billing_consolidation_rate: f64,
}Expand description
Configuration for corporate hierarchies.
Fields§
§enabled: boolEnable corporate hierarchy generation
hierarchy_rate: f64Rate of customers in hierarchies
max_depth: usizeMaximum hierarchy depth
billing_consolidation_rate: f64Rate of billing consolidation
Trait Implementations§
Source§impl Clone for HierarchyConfig
impl Clone for HierarchyConfig
Source§fn clone(&self) -> HierarchyConfig
fn clone(&self) -> HierarchyConfig
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 HierarchyConfig
impl Debug for HierarchyConfig
Auto Trait Implementations§
impl Freeze for HierarchyConfig
impl RefUnwindSafe for HierarchyConfig
impl Send for HierarchyConfig
impl Sync for HierarchyConfig
impl Unpin for HierarchyConfig
impl UnwindSafe for HierarchyConfig
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