pub struct ResponseFunctionShellToolCall {
pub id: String,
pub action: FunctionShellAction,
pub call_id: String,
pub environment: Option<Environment>,
pub status: ResponseFunctionShellToolCallStatus,
pub type_: String,
pub created_by: Option<String>,
}Expand description
A tool call that executes one or more shell commands in a managed environment.
Fields§
§id: StringThe unique ID of the shell tool call.
action: FunctionShellActionThe shell commands and limits that describe how to run the tool call.
call_id: StringThe unique ID of the shell tool call generated by the model.
environment: Option<Environment>Represents the use of a local environment to perform shell actions.
status: ResponseFunctionShellToolCallStatusThe status of the shell call.
type_: StringThe type of the item. Always shell_call.
created_by: Option<String>The ID of the entity that created this tool call.
Trait Implementations§
Source§impl Clone for ResponseFunctionShellToolCall
impl Clone for ResponseFunctionShellToolCall
Source§fn clone(&self) -> ResponseFunctionShellToolCall
fn clone(&self) -> ResponseFunctionShellToolCall
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<'de> Deserialize<'de> for ResponseFunctionShellToolCall
impl<'de> Deserialize<'de> for ResponseFunctionShellToolCall
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 ResponseFunctionShellToolCall
impl RefUnwindSafe for ResponseFunctionShellToolCall
impl Send for ResponseFunctionShellToolCall
impl Sync for ResponseFunctionShellToolCall
impl Unpin for ResponseFunctionShellToolCall
impl UnsafeUnpin for ResponseFunctionShellToolCall
impl UnwindSafe for ResponseFunctionShellToolCall
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