rbatis-tools 0.1.19

Generate the RUST structure based on the MySQL table structure
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Default, Debug, Deserialize, Serialize, Clone)]
pub struct CustomConfig {
    pub database: String,
    pub conn_str: String,
    pub include_tables: Option<Vec<String>>,
    pub exclude_tables: Option<Vec<String>>,
    pub output_dir: String,
}