pub struct EntryPoint {
pub id: String,
pub label: String,
pub description: Option<String>,
pub starts_at: String,
pub preset_results: HashMap<String, Value>,
pub required_inputs: Vec<String>,
pub triggers: Vec<WorkflowTrigger>,
}Expand description
A named entry point into a workflow. Allows workflows to be started at different steps depending on context.
Fields§
§id: StringUnique identifier for this entry point (e.g., “import_from_docs”, “grade_only”).
label: StringHuman-readable label.
description: Option<String>Optional description of when to use this entry point.
starts_at: StringThe step ID where execution begins.
preset_results: HashMap<String, Value>Pre-populated step results for steps that are skipped. Maps step_id → result value. These steps are marked Done before execution starts.
required_inputs: Vec<String>Required input fields for this entry point (for UI/validation).
triggers: Vec<WorkflowTrigger>How this entry point is reached. Empty = default Manual
only (direct API/UI invocation). Multiple triggers can target
the same entry point — e.g. a slash command and a webhook
both starting the same run.
Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
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 EntryPoint
impl Debug for EntryPoint
Source§impl<'de> Deserialize<'de> for EntryPoint
impl<'de> Deserialize<'de> for EntryPoint
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
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnsafeUnpin for EntryPoint
impl UnwindSafe for EntryPoint
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