processing_chain/processes/
mod.rs1use std::path::PathBuf;
2
3use crate::items::Item;
4
5pub mod simple_process;
6pub mod json_process;
7
8#[derive(Debug, Default)]
11pub struct Process {
12 pub name: String,
13 pub inputs_dir_path: PathBuf,
14 pub inputs_extenion: String,
15 pub outputs_dir_path: PathBuf,
16 pub tmp_dir_path: Option<PathBuf>,
17 pub overwrite: bool,
18 pub items: Vec<Item>,
19}
20
21
22#[derive(Debug, Default)]
25pub struct JsonProcess {
26 pub name: String,
27 pub json_items: String,
28 pub tmp_dir_path: Option<PathBuf>,
29 pub overwrite: bool,
30 pub items: Vec<Item>,
31}