working serialization gen

This commit is contained in:
Nikolay Volf
2016-04-20 19:01:53 +03:00
parent 3908ddf609
commit 8b1197b335
5 changed files with 84 additions and 20 deletions

View File

@@ -14,8 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
use ipc::*;
#[derive(Binary)]
enum Root {
Top,
Middle(String)
Middle(u32, u64),
Bottom {
number1: u32,
number2: u64,
},
}