pub struct WorkflowDescriptorEntry {
pub name: &'static str,
pub description: &'static str,
pub author: &'static str,
pub fingerprint: &'static str,
pub graph_data_json: &'static str,
pub triggers: fn() -> Vec<String>,
}Expand description
Workflow descriptor entry emitted by #[workflow]. Provides the
metadata fields the unified cloacina::package!() shell can’t infer
from TaskEntry alone (description, author, fingerprint, graph_data,
triggers). Walked by the shell’s get_task_metadata body to populate
PackageTasksMetadata. (T-C / I-0102)
Fields§
§name: &'static str§description: &'static str§fingerprint: &'static str§graph_data_json: &'static str§triggers: fn() -> Vec<String>Trigger names this workflow subscribes to (from
#[workflow(triggers = ["..."])]).
Trait Implementations§
impl Collect for WorkflowDescriptorEntry
Auto Trait Implementations§
impl Freeze for WorkflowDescriptorEntry
impl RefUnwindSafe for WorkflowDescriptorEntry
impl Send for WorkflowDescriptorEntry
impl Sync for WorkflowDescriptorEntry
impl Unpin for WorkflowDescriptorEntry
impl UnsafeUnpin for WorkflowDescriptorEntry
impl UnwindSafe for WorkflowDescriptorEntry
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