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§fn clone(&self) -> ToolOutputPart
fn clone(&self) -> ToolOutputPart
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 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 Freeze for ToolOutputPart
impl RefUnwindSafe for ToolOutputPart
impl Send for ToolOutputPart
impl Sync for ToolOutputPart
impl Unpin for ToolOutputPart
impl UnsafeUnpin for ToolOutputPart
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