pub struct GraphExecuteParams {
pub graph_id: String,
pub input: Option<Value>,
pub graph_version: Option<String>,
pub thread_id: Option<String>,
pub mode: Option<String>,
pub idempotency_key: Option<String>,
}Expand description
Parameters for executing a graph.
Fields§
§graph_id: StringThe graph ID (name) to execute.
input: Option<Value>Input value to pass to the graph’s entry node.
graph_version: Option<String>Optional pinned graph version hash.
thread_id: Option<String>Optional thread ID for checkpointing (future use).
mode: Option<String>Execution mode: ‘sync’ blocks until completion, ‘async’ returns immediately.
idempotency_key: Option<String>Optional idempotency key. Reusing a key returns the existing run result.
Trait Implementations§
Source§impl Debug for GraphExecuteParams
impl Debug for GraphExecuteParams
Source§impl<'de> Deserialize<'de> for GraphExecuteParams
impl<'de> Deserialize<'de> for GraphExecuteParams
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
Source§impl JsonSchema for GraphExecuteParams
impl JsonSchema for GraphExecuteParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for GraphExecuteParams
impl RefUnwindSafe for GraphExecuteParams
impl Send for GraphExecuteParams
impl Sync for GraphExecuteParams
impl Unpin for GraphExecuteParams
impl UnsafeUnpin for GraphExecuteParams
impl UnwindSafe for GraphExecuteParams
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