pub enum ExportBlock {
Text {
text: String,
},
ImageReference {
url: String,
},
ImageOmitted,
InternalReasoning,
ToolCall {
id: String,
name: String,
caller: Option<ToolCallerProjection>,
input: Value,
},
ToolResult {
tool_use_id: String,
content: String,
is_error: bool,
structured: Option<Value>,
},
ServerToolCall {
id: String,
name: String,
input: Value,
},
ToolSearchResult {
tool_use_id: String,
content: Value,
},
CodeExecutionResult {
tool_use_id: String,
content: Value,
},
}Expand description
One projected content block (D3/D9).
Visible text and structured content cross as portable data; internal reasoning bodies, reasoning signatures, and inline or local image payloads are replaced by typed omission markers at projection time and never cross.
Variants§
Text
Visible text block; portable rendering sanitizes it.
ImageReference
External image reference (http/https only); portable rendering
redacts credential-bearing URLs.
ImageOmitted
Inline or local image payload excluded at projection time (D9).
InternalReasoning
Internal reasoning body and reasoning signature excluded (D9).
ToolCall
ToolResult
Fields
ServerToolCall
ToolSearchResult
CodeExecutionResult
Trait Implementations§
Source§impl Clone for ExportBlock
impl Clone for ExportBlock
Source§impl Debug for ExportBlock
impl Debug for ExportBlock
Source§impl PartialEq for ExportBlock
impl PartialEq for ExportBlock
impl StructuralPartialEq for ExportBlock
Auto Trait Implementations§
impl Forget for ExportBlock
impl Freeze for ExportBlock
impl Move for ExportBlock
impl RefUnwindSafe for ExportBlock
impl Send for ExportBlock
impl Sync for ExportBlock
impl Unpin for ExportBlock
impl UnsafeUnpin for ExportBlock
impl UnwindSafe for ExportBlock
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