pub trait HasWorkflowDefinition: WorkflowDefinition {
type Run: WorkflowDefinition;
}Expand description
Indicates that a type is associated with a WorkflowDefinition, enabling typed
signal, query, and update methods on WorkflowHandle.
Structs annotated with #[workflow_methods] implement this trait automatically.
Required Associated Types§
Sourcetype Run: WorkflowDefinition
type Run: WorkflowDefinition
The WorkflowDefinition type that SignalDefinition, QueryDefinition, and
UpdateDefinition are associated with.