pub struct LocalShellToolCall {
pub id: String,
pub call_id: String,
pub action: LocalShellExecAction,
pub status: LocalShellToolCallStatus,
}
Expand description
A tool call to run a command on the local shell.
Fields§
§id: String
The unique ID of the local shell call.
call_id: String
The unique ID of the local shell tool call generated by the model.
action: LocalShellExecAction
§status: LocalShellToolCallStatus
The status of the local shell call.
Implementations§
Trait Implementations§
Source§impl Clone for LocalShellToolCall
impl Clone for LocalShellToolCall
Source§fn clone(&self) -> LocalShellToolCall
fn clone(&self) -> LocalShellToolCall
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalShellToolCall
impl Debug for LocalShellToolCall
Source§impl<'de> Deserialize<'de> for LocalShellToolCall
impl<'de> Deserialize<'de> for LocalShellToolCall
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 LocalShellToolCall
impl PartialEq for LocalShellToolCall
Source§impl Serialize for LocalShellToolCall
impl Serialize for LocalShellToolCall
impl StructuralPartialEq for LocalShellToolCall
Auto Trait Implementations§
impl Freeze for LocalShellToolCall
impl RefUnwindSafe for LocalShellToolCall
impl Send for LocalShellToolCall
impl Sync for LocalShellToolCall
impl Unpin for LocalShellToolCall
impl UnwindSafe for LocalShellToolCall
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