accepts-codegen 0.0.1

Rust toolkit for composing synchronous and asynchronous acceptor pipelines
Documentation
1
2
3
4
5
6
7
8
9
use syn::{Ident, Type};

#[derive(Debug, Clone)]
pub struct NextAcceptorSpec {
    pub generics_ident: Ident,
    pub field_ident: Ident,
    pub field_ty: Type,
    pub accepts_ty: Type,
}