Derive Macro darth_rust::DarthRust
source · #[derive(DarthRust)]Expand description
Usage
run cargo add colorful in your project
run cargo add chrono in your project
use darth_rust::DarthRust;
use serde::{Deserialize, Serialize};
#[derive(DarthRust, Debug, Serialize, Deserialize)]
struct MyStruct {
field1: String,
field2: i32,
}