worktable_macros 0.9.0

Proc-macro companion crate for worktable: the worktable! macro and its derives. Formerly published as worktable_codegen.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;

use proc_macro2::Ident;

use crate::common::model::Operation;

#[derive(Debug, Default)]
pub struct Queries {
    pub updates: HashMap<Ident, Operation>,
    pub deletes: HashMap<Ident, Operation>,
    pub in_place: HashMap<Ident, Operation>,
}