dojo-types 1.7.0

Primitives to interact with the Dojo framework types.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Represents a system's model dependency.
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct Dependency {
    /// Name of the model.
    pub name: String,
    pub read: bool,
    pub write: bool,
}