pub struct FunctionShellCall {
pub id: String,
pub call_id: String,
pub action: FunctionShellAction,
pub status: LocalShellCallStatus,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A tool call that executes one or more shell commands in a managed environment.
Fields§
§id: StringThe unique ID of the function shell tool call. Populated when this item is returned via API.
call_id: StringThe unique ID of the function shell tool call generated by the model.
action: FunctionShellActionThe shell commands and limits that describe how to run the tool call.
status: LocalShellCallStatusThe status of the shell call. One of in_progress, completed, or incomplete.
created_by: Option<String>The ID of the entity that created this tool call.
Trait Implementations§
Source§impl Clone for FunctionShellCall
impl Clone for FunctionShellCall
Source§fn clone(&self) -> FunctionShellCall
fn clone(&self) -> FunctionShellCall
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 FunctionShellCall
impl Debug for FunctionShellCall
Source§impl<'de> Deserialize<'de> for FunctionShellCall
impl<'de> Deserialize<'de> for FunctionShellCall
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 FunctionShellCall
impl PartialEq for FunctionShellCall
Source§impl Serialize for FunctionShellCall
impl Serialize for FunctionShellCall
impl StructuralPartialEq for FunctionShellCall
Auto Trait Implementations§
impl Freeze for FunctionShellCall
impl RefUnwindSafe for FunctionShellCall
impl Send for FunctionShellCall
impl Sync for FunctionShellCall
impl Unpin for FunctionShellCall
impl UnwindSafe for FunctionShellCall
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