This commit is contained in:
JMARyA 2024-09-21 06:37:51 +02:00
parent 5090b85c60
commit 30638bd80b
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -4,8 +4,10 @@ use mongod::{assert_reference_of, reference_of, Reference, Validate};
#[derive(Debug, Clone, Serialize, Deserialize, Model, Referencable)] #[derive(Debug, Clone, Serialize, Deserialize, Model, Referencable)]
pub struct FlowInfo { pub struct FlowInfo {
#[serde(default)]
pub _id: String, pub _id: String,
pub name: String, pub name: String,
#[serde(default)]
pub depends: Vec<String>, pub depends: Vec<String>,
pub next: Option<String>, pub next: Option<String>,
pub produces: Option<Vec<String>>, pub produces: Option<Vec<String>>,