pub struct Spec {
pub spec_id: String,
pub version: String,
pub description: String,
pub aliases: Vec<String>,
pub instance_config_schema: Option<Value>,
pub display: BTreeMap<String, Value>,
pub branches: Vec<Branch>,
}Expand description
A complete workflow specification.
Fields§
§spec_id: StringWorkflow spec identifier.
version: StringSemantic version string.
description: StringHuman-readable description.
aliases: Vec<String>Alternate ids this spec answers to.
instance_config_schema: Option<Value>JSON-Schema for per-instance configuration, if the spec is templated.
display: BTreeMap<String, Value>Presentation metadata, keyed by node id. Opaque to the engine.
branches: Vec<Branch>Branches; the first is the root.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spec
impl<'de> Deserialize<'de> for Spec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more