ints running

This commit is contained in:
NikVolf
2017-06-03 21:20:52 +03:00
parent 2b024f4b3e
commit dbea9f20ea
2 changed files with 84 additions and 7 deletions

View File

@ -3,8 +3,8 @@
#[derive(Deserialize)]
pub struct RuntimeValue {
#[serde(rename = "type")]
value_type: String,
value: String,
pub value_type: String,
pub value: String,
}
#[derive(Deserialize)]
@ -34,7 +34,7 @@ pub enum Command {
}
#[derive(Deserialize)]
pub struct Commands {
source_filename: String,
commands: Vec<Command>,
pub struct Spec {
pub source_filename: String,
pub commands: Vec<Command>,
}