Add json support

This commit is contained in:
Jonathan Turner
2019-05-28 14:01:37 +12:00
parent c25fd826ea
commit b34676441b
10 changed files with 96 additions and 6 deletions

View File

@ -1,7 +1,8 @@
use derive_new::new;
use std::str::FromStr;
use serde_derive::{Deserialize, Serialize};
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize)]
pub enum Operator {
Equal,
NotEqual,