macro_rules! proto_struct {
    ($spec_ty: ident { }) => { ... };
    ($spec_ty: ident {
        $($fname: ident: $ftype: ty ),+
    }) => { ... };
}