Derive Macro darth_rust::DarthRust

source ·
#[derive(DarthRust)]
Expand description

§Usage

§run cargo add regex

§run cargo add colorful

§run cargo add chrono

§run cargo add serde

§run cargo add serde_json

use darth_rust::DarthRust;
use serde::{Deserialize, Serialize};
#[derive(DarthRust, Debug, Serialize, Deserialize, Clone, Default)]
struct MyStruct {
    field1: String,
    field2: i32,
}