1 2 3 4 5 6 7 8 9 10 11 12
use std::path::PathBuf; use crate::{FieldList, Transition}; #[derive(Debug, PartialEq)] pub struct Contract { pub path: PathBuf, pub name: String, pub constructor_params: FieldList, pub fields: FieldList, pub transitions: Vec<Transition>, }