pub enum CodeModeRunnerOutput {
ToolCall {
seq: u64,
id: String,
params: Value,
},
ArtifactWrite {
seq: u64,
path: String,
content: String,
content_type: Option<String>,
},
SnippetResolve {
seq: u64,
name: String,
input: Value,
},
StepBegin {
seq: u64,
name: String,
},
StepResult {
seq: u64,
value: Value,
},
Done {
result: CodeModeRunnerResult,
logs: Vec<String>,
},
Error {
kind: String,
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for CodeModeRunnerOutput
impl Clone for CodeModeRunnerOutput
Source§fn clone(&self) -> CodeModeRunnerOutput
fn clone(&self) -> CodeModeRunnerOutput
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 CodeModeRunnerOutput
impl Debug for CodeModeRunnerOutput
Source§impl<'de> Deserialize<'de> for CodeModeRunnerOutput
impl<'de> Deserialize<'de> for CodeModeRunnerOutput
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 PartialEq for CodeModeRunnerOutput
impl PartialEq for CodeModeRunnerOutput
Source§fn eq(&self, other: &CodeModeRunnerOutput) -> bool
fn eq(&self, other: &CodeModeRunnerOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeModeRunnerOutput
impl Serialize for CodeModeRunnerOutput
impl StructuralPartialEq for CodeModeRunnerOutput
Auto Trait Implementations§
impl Freeze for CodeModeRunnerOutput
impl RefUnwindSafe for CodeModeRunnerOutput
impl Send for CodeModeRunnerOutput
impl Sync for CodeModeRunnerOutput
impl Unpin for CodeModeRunnerOutput
impl UnsafeUnpin for CodeModeRunnerOutput
impl UnwindSafe for CodeModeRunnerOutput
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