pub struct HierarchySchemaConfig {
pub enabled: bool,
pub probability: f64,
}Expand description
Corporate hierarchy configuration.
Fields§
§enabled: boolEnable corporate hierarchy generation.
probability: f64Rate of customers in hierarchies.
Trait Implementations§
Source§impl Clone for HierarchySchemaConfig
impl Clone for HierarchySchemaConfig
Source§fn clone(&self) -> HierarchySchemaConfig
fn clone(&self) -> HierarchySchemaConfig
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 HierarchySchemaConfig
impl Debug for HierarchySchemaConfig
Source§impl Default for HierarchySchemaConfig
impl Default for HierarchySchemaConfig
Source§impl<'de> Deserialize<'de> for HierarchySchemaConfig
impl<'de> Deserialize<'de> for HierarchySchemaConfig
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 HierarchySchemaConfig
impl RefUnwindSafe for HierarchySchemaConfig
impl Send for HierarchySchemaConfig
impl Sync for HierarchySchemaConfig
impl Unpin for HierarchySchemaConfig
impl UnsafeUnpin for HierarchySchemaConfig
impl UnwindSafe for HierarchySchemaConfig
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