serverless_workflow_core 1.0.0-alpha6.3

Contains Serverless Workflow DSL models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde_derive::{Deserialize, Serialize};
use serde_json::Value;
use crate::models::schema::*;

/// Represents the definition of an output data model
#[derive(Debug, Default, Clone, PartialEq, Serialize, Deserialize)]
pub struct OutputDataModelDefinition{

        /// Gets/sets the schema, if any, that defines and describes the output data of a workflow or task
    #[serde(rename = "schema", skip_serializing_if = "Option::is_none")]
    pub schema: Option<SchemaDefinition>,
    
       /// Gets/sets a runtime expression, if any, used to output specific data to the scope data
    #[serde(rename = "as", skip_serializing_if = "Option::is_none")]
    pub as_: Option<Value>

}