pub struct WorkflowModel {Show 14 fields
pub rpc_method: String,
pub registered_name: String,
pub input_type: ProtoType,
pub output_type: ProtoType,
pub task_queue: Option<String>,
pub id_expression: Option<Vec<IdTemplateSegment>>,
pub id_reuse_policy: Option<IdReusePolicy>,
pub execution_timeout: Option<Duration>,
pub run_timeout: Option<Duration>,
pub task_timeout: Option<Duration>,
pub aliases: Vec<String>,
pub attached_signals: Vec<SignalRef>,
pub attached_queries: Vec<QueryRef>,
pub attached_updates: Vec<UpdateRef>,
}Fields§
§rpc_method: StringRpc method name as declared in proto (e.g. "RunJob").
registered_name: StringCross-language workflow registration name. Defaults to
"<package>.<Service>/<rpc>" when WorkflowOptions.name is empty.
input_type: ProtoType§output_type: ProtoType§task_queue: Option<String>Effective task queue: WorkflowOptions.task_queue if set, else the
service-level default. None means neither was supplied — render
will require the caller to pass one.
id_expression: Option<Vec<IdTemplateSegment>>Parsed form of cludden’s id Go-template expression, compiled at
parse time against the workflow’s input message descriptor. Each
segment is either a literal piece of the template or a reference to
a field on the input message. Render emits a private
<wf>_id(input: &Input) -> String function that walks the segments
via format!, so the substitution happens at codegen time — no
runtime template engine required.
id_reuse_policy: Option<IdReusePolicy>§execution_timeout: Option<Duration>§run_timeout: Option<Duration>§task_timeout: Option<Duration>§aliases: Vec<String>Additional names this workflow is also registered under.
attached_signals: Vec<SignalRef>§attached_queries: Vec<QueryRef>§attached_updates: Vec<UpdateRef>