pub struct LocalShellCall {
pub id: String,
pub action: LocalShellCallAction,
pub call_id: String,
pub status: LocalShellCallStatus,
pub type_: String,
}Expand description
A tool call to run a command on the local shell.
Fields§
§id: StringThe unique ID of the local shell call.
action: LocalShellCallActionExecute a shell command on the server.
call_id: StringThe unique ID of the local shell tool call generated by the model.
status: LocalShellCallStatusThe status of the local shell call.
type_: StringThe type of the local shell call. Always local_shell_call.
Trait Implementations§
Source§impl Clone for LocalShellCall
impl Clone for LocalShellCall
Source§fn clone(&self) -> LocalShellCall
fn clone(&self) -> LocalShellCall
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 LocalShellCall
impl Debug for LocalShellCall
Source§impl<'de> Deserialize<'de> for LocalShellCall
impl<'de> Deserialize<'de> for LocalShellCall
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
Auto Trait Implementations§
impl Freeze for LocalShellCall
impl RefUnwindSafe for LocalShellCall
impl Send for LocalShellCall
impl Sync for LocalShellCall
impl Unpin for LocalShellCall
impl UnsafeUnpin for LocalShellCall
impl UnwindSafe for LocalShellCall
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