pub struct LocalShellTool {}Expand description
A tool that allows the model to execute shell commands in a local environment.
Implementations§
Trait Implementations§
Source§impl Clone for LocalShellTool
impl Clone for LocalShellTool
Source§fn clone(&self) -> LocalShellTool
fn clone(&self) -> LocalShellTool
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 LocalShellTool
Source§impl Debug for LocalShellTool
impl Debug for LocalShellTool
Source§impl Default for LocalShellTool
impl Default for LocalShellTool
Source§fn default() -> LocalShellTool
fn default() -> LocalShellTool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocalShellTool
impl<'de> Deserialize<'de> for LocalShellTool
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 LocalShellTool
impl PartialEq for LocalShellTool
Source§fn eq(&self, other: &LocalShellTool) -> bool
fn eq(&self, other: &LocalShellTool) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocalShellTool
impl Serialize for LocalShellTool
impl StructuralPartialEq for LocalShellTool
Auto Trait Implementations§
impl Freeze for LocalShellTool
impl RefUnwindSafe for LocalShellTool
impl Send for LocalShellTool
impl Sync for LocalShellTool
impl Unpin for LocalShellTool
impl UnsafeUnpin for LocalShellTool
impl UnwindSafe for LocalShellTool
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