pub struct WorkflowDefinitionMetadata {
pub dsl: String,
pub namespace: String,
pub name: String,
pub version: String,
pub title: Option<String>,
pub summary: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
Represents the metadata of a workflow, including its name, version, and description.
Fields§
§dsl: StringGets/sets the version of the DSL used to define the workflow
namespace: StringGets/sets the workflow’s namespace
Defaults to DEFAULT_NAMESPACE if not specified.
name: StringGets/sets the workflow’s name
version: StringGets/sets the workflow’s semantic version
title: Option<String>Gets/sets the workflow’s title, if any
summary: Option<String>Gets/sets the workflow’s Markdown summary, if any
Gets/sets a key/value mapping of the workflow’s tags, if any
metadata: Option<HashMap<String, Value>>Gets/sets a key/value mapping, if any, of additional information associated with the workflow document
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowDefinitionMetadata
impl Clone for WorkflowDefinitionMetadata
Source§fn clone(&self) -> WorkflowDefinitionMetadata
fn clone(&self) -> WorkflowDefinitionMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkflowDefinitionMetadata
impl Debug for WorkflowDefinitionMetadata
Source§impl Default for WorkflowDefinitionMetadata
impl Default for WorkflowDefinitionMetadata
Source§fn default() -> WorkflowDefinitionMetadata
fn default() -> WorkflowDefinitionMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowDefinitionMetadata
impl<'de> Deserialize<'de> for WorkflowDefinitionMetadata
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
Source§impl PartialEq for WorkflowDefinitionMetadata
impl PartialEq for WorkflowDefinitionMetadata
Source§fn eq(&self, other: &WorkflowDefinitionMetadata) -> bool
fn eq(&self, other: &WorkflowDefinitionMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkflowDefinitionMetadata
Auto Trait Implementations§
impl Freeze for WorkflowDefinitionMetadata
impl RefUnwindSafe for WorkflowDefinitionMetadata
impl Send for WorkflowDefinitionMetadata
impl Sync for WorkflowDefinitionMetadata
impl Unpin for WorkflowDefinitionMetadata
impl UnsafeUnpin for WorkflowDefinitionMetadata
impl UnwindSafe for WorkflowDefinitionMetadata
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