pub enum ProcessInput {
ToolCall {
call: PreparedToolCall,
},
LashlangProcess {
module_ref: ModuleRef,
process_ref: ProcessRef,
required_surface_ref: RequiredSurfaceRef,
process_name: String,
args: Map<String, Value>,
},
SessionTurn {
create_request: Box<SessionCreateRequest>,
turn_input: Box<TurnInput>,
output_contract: ToolOutputContract,
},
External {
metadata: Value,
},
}Expand description
Durable executable input for a process.
Variants§
ToolCall
Fields
§
call: PreparedToolCallLashlangProcess
SessionTurn
External
Trait Implementations§
Source§impl Clone for ProcessInput
impl Clone for ProcessInput
Source§impl Debug for ProcessInput
impl Debug for ProcessInput
Source§impl<'de> Deserialize<'de> for ProcessInput
impl<'de> Deserialize<'de> for ProcessInput
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 !RefUnwindSafe for ProcessInput
impl !UnwindSafe for ProcessInput
impl Freeze for ProcessInput
impl Send for ProcessInput
impl Sync for ProcessInput
impl Unpin for ProcessInput
impl UnsafeUnpin for ProcessInput
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