pub enum ToolResultContentType {
Text,
EmbeddedResource,
Resource,
FileEdit,
Terminal,
TerminalComplete,
Subagent,
}Expand description
Discriminant for tool result content types.
Variants§
Trait Implementations§
Source§impl Clone for ToolResultContentType
impl Clone for ToolResultContentType
Source§fn clone(&self) -> ToolResultContentType
fn clone(&self) -> ToolResultContentType
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 moreimpl Copy for ToolResultContentType
Source§impl Debug for ToolResultContentType
impl Debug for ToolResultContentType
Source§impl<'de> Deserialize<'de> for ToolResultContentType
impl<'de> Deserialize<'de> for ToolResultContentType
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 ToolResultContentType
Source§impl Hash for ToolResultContentType
impl Hash for ToolResultContentType
Source§impl PartialEq for ToolResultContentType
impl PartialEq for ToolResultContentType
Source§fn eq(&self, other: &ToolResultContentType) -> bool
fn eq(&self, other: &ToolResultContentType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolResultContentType
impl Serialize for ToolResultContentType
impl StructuralPartialEq for ToolResultContentType
Auto Trait Implementations§
impl Freeze for ToolResultContentType
impl RefUnwindSafe for ToolResultContentType
impl Send for ToolResultContentType
impl Sync for ToolResultContentType
impl Unpin for ToolResultContentType
impl UnsafeUnpin for ToolResultContentType
impl UnwindSafe for ToolResultContentType
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