destructure 0.7.0

Automation of Destructure Pattern
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(dead_code)]

use destructure::Destructure;

#[derive(Destructure)]
pub struct Book {
    id: String,
    name: String,
    published_at: String,
    author: String,
}

fn main() { /* no-op */ }