pub enum LLMToolContent {
Text(ToolTextContent),
File(ToolFileContent),
}Variants§
Text(ToolTextContent)
File(ToolFileContent)
Trait Implementations§
Source§impl Clone for LLMToolContent
impl Clone for LLMToolContent
Source§fn clone(&self) -> LLMToolContent
fn clone(&self) -> LLMToolContent
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 LLMToolContent
impl Debug for LLMToolContent
Source§impl<'de> Deserialize<'de> for LLMToolContent
impl<'de> Deserialize<'de> for LLMToolContent
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
Source§impl PartialEq for LLMToolContent
impl PartialEq for LLMToolContent
Source§impl Serialize for LLMToolContent
impl Serialize for LLMToolContent
impl StructuralPartialEq for LLMToolContent
Auto Trait Implementations§
impl Freeze for LLMToolContent
impl RefUnwindSafe for LLMToolContent
impl Send for LLMToolContent
impl Sync for LLMToolContent
impl Unpin for LLMToolContent
impl UnsafeUnpin for LLMToolContent
impl UnwindSafe for LLMToolContent
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