Struct etl::dataframe::config::DataConfig
[−]
[src]
pub struct DataConfig { pub source_files: Vec<SourceFile>, pub transforms: Option<Vec<Transform>>, }
Specification of how a data frame is configued from data sources
Fields
source_files: Vec<SourceFile>
Source files
transforms: Option<Vec<Transform>>
(Optional) list of transforms on fields in the source files
Methods
impl DataConfig
[src]
fn from_config(config_file_path: &Path) -> Result<DataConfig, Error>
[src]
Generate a DataConfig from a JSON or TOML config file path
Trait Implementations
impl Debug for DataConfig
[src]
impl Clone for DataConfig
[src]
fn clone(&self) -> DataConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DataConfig
[src]
fn eq(&self, __arg_0: &DataConfig) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DataConfig) -> bool
[src]
This method tests for !=
.