mantra-schema 0.6.1

Schemas for *mantra*.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
pub struct RequirementSchema {
    pub requirements: Vec<Requirement>,
}

pub type ReqId = String;

#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct Requirement {
    pub id: ReqId,
    pub title: String,
    pub link: String,
    pub manual: bool,
    pub deprecated: bool,
    pub info: Option<serde_json::Value>,
}