1use serde::{Deserialize, Serialize}; 2 3/// Represents a system's model dependency. 4#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)] 5pub struct Dependency { 6 /// Name of the model. 7 pub name: String, 8 pub read: bool, 9 pub write: bool, 10}