pub enum DataDistribution {
Uniform,
Normal {
mean: f64,
std_dev: f64,
},
Sequential,
Random,
Custom(Vec<String>),
}Expand description
Defines the statistical distribution or pattern for generating data in a column.
Variants§
Trait Implementations§
Source§impl Clone for DataDistribution
impl Clone for DataDistribution
Source§fn clone(&self) -> DataDistribution
fn clone(&self) -> DataDistribution
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 DataDistribution
impl Debug for DataDistribution
Source§impl<'de> Deserialize<'de> for DataDistribution
impl<'de> Deserialize<'de> for DataDistribution
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 DataDistribution
impl RefUnwindSafe for DataDistribution
impl Send for DataDistribution
impl Sync for DataDistribution
impl Unpin for DataDistribution
impl UnwindSafe for DataDistribution
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