pub enum StructcopyBlock {
Text(String),
ThinkingOmitted,
ToolUse {
id: String,
name: String,
input: Value,
caller_type: Option<String>,
},
ToolResult {
tool_use_id: String,
result: StructcopyToolResult,
},
ImageUrl(String),
ImageOmitted,
ServerToolUse {
id: String,
name: String,
input: Value,
},
ToolSearchToolResult {
tool_use_id: String,
content: Value,
},
CodeExecutionToolResult {
tool_use_id: String,
content: Value,
},
}Variants§
Text(String)
ThinkingOmitted
ToolUse
ToolResult
ImageUrl(String)
Only HTTP(S) URLs; the host must omit local and inline image payloads.
ImageOmitted
ServerToolUse
ToolSearchToolResult
CodeExecutionToolResult
Trait Implementations§
Source§impl Clone for StructcopyBlock
impl Clone for StructcopyBlock
Source§impl Debug for StructcopyBlock
impl Debug for StructcopyBlock
Source§impl PartialEq for StructcopyBlock
impl PartialEq for StructcopyBlock
impl StructuralPartialEq for StructcopyBlock
Auto Trait Implementations§
impl Forget for StructcopyBlock
impl Freeze for StructcopyBlock
impl Move for StructcopyBlock
impl RefUnwindSafe for StructcopyBlock
impl Send for StructcopyBlock
impl Sync for StructcopyBlock
impl Unpin for StructcopyBlock
impl UnsafeUnpin for StructcopyBlock
impl UnwindSafe for StructcopyBlock
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