pub enum ToolOutputPart {
Text(String),
Artifact(ArtifactRef),
}Expand description
One ordered part of a tool’s durable output.
Variants§
Text(String)
Artifact(ArtifactRef)
Trait Implementations§
Source§impl Clone for ToolOutputPart
impl Clone for ToolOutputPart
Source§impl Debug for ToolOutputPart
impl Debug for ToolOutputPart
Source§impl<'de> Deserialize<'de> for ToolOutputPart
impl<'de> Deserialize<'de> for ToolOutputPart
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
impl Eq for ToolOutputPart
Source§impl PartialEq for ToolOutputPart
impl PartialEq for ToolOutputPart
Source§impl Serialize for ToolOutputPart
impl Serialize for ToolOutputPart
impl StructuralPartialEq for ToolOutputPart
Auto Trait Implementations§
impl Forget for ToolOutputPart
impl Freeze for ToolOutputPartwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<(Indexed, Indexed)>: Freeze,
impl Move for ToolOutputPart
impl RefUnwindSafe for ToolOutputPart
impl Send for ToolOutputPart
impl Sync for ToolOutputPartwhere
RawVecInner: Sync,
impl Unpin for ToolOutputPart
impl UnsafeUnpin for ToolOutputPartwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<(Indexed, Indexed)>: UnsafeUnpin,
impl UnwindSafe for ToolOutputPart
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