pub struct WorkflowDetailResponse {
pub name: String,
pub description: String,
pub source_code: Option<String>,
pub sub_workflows: Vec<SubWorkflowDetail>,
pub category: Option<String>,
pub version: Option<String>,
pub compatible_versions: Vec<String>,
pub input_schema: Option<Value>,
pub default_labels: HashMap<String, String>,
pub schedule: Option<String>,
pub default_max_cost_usd: Option<Decimal>,
}Expand description
Workflow detail response.
Fields§
§name: StringWorkflow name.
description: StringHuman-readable description.
source_code: Option<String>Optional Rust source code of the handler.
sub_workflows: Vec<SubWorkflowDetail>Sub-workflows invoked by this handler (recursive, depth-limited).
category: Option<String>Optional /-separated category path used to group workflows.
version: Option<String>Current handler version.
compatible_versions: Vec<String>Versions accepted for replay without force.
input_schema: Option<Value>JSON Schema describing the expected input payload.
default_labels: HashMap<String, String>Labels automatically applied to every run of this workflow.
schedule: Option<String>Optional 6-field cron expression for automatic execution.
default_max_cost_usd: Option<Decimal>Default cumulative cost cap applied to runs of this workflow, in USD.
Overridden by a cap supplied at run creation. None means the workflow
declares no default and falls back to the server default (if any).
Trait Implementations§
Source§impl Debug for WorkflowDetailResponse
impl Debug for WorkflowDetailResponse
Auto Trait Implementations§
impl Freeze for WorkflowDetailResponse
impl RefUnwindSafe for WorkflowDetailResponse
impl Send for WorkflowDetailResponse
impl Sync for WorkflowDetailResponse
impl Unpin for WorkflowDetailResponse
impl UnsafeUnpin for WorkflowDetailResponse
impl UnwindSafe for WorkflowDetailResponse
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