pub struct FunctionShellCallItemParam {
pub id: Option<String>,
pub call_id: String,
pub action: FunctionShellActionParam,
pub status: Option<FunctionShellCallItemStatus>,
}Available on crate feature
response-types only.Expand description
A tool representing a request to execute one or more shell commands.
Fields§
§id: Option<String>The 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: FunctionShellActionParamThe shell commands and limits that describe how to run the tool call.
status: Option<FunctionShellCallItemStatus>The status of the shell call. One of in_progress, completed, or incomplete.
Trait Implementations§
Source§impl Clone for FunctionShellCallItemParam
impl Clone for FunctionShellCallItemParam
Source§fn clone(&self) -> FunctionShellCallItemParam
fn clone(&self) -> FunctionShellCallItemParam
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 FunctionShellCallItemParam
impl Debug for FunctionShellCallItemParam
Source§impl<'de> Deserialize<'de> for FunctionShellCallItemParam
impl<'de> Deserialize<'de> for FunctionShellCallItemParam
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 From<FunctionShellCallItemParam> for Item
impl From<FunctionShellCallItemParam> for Item
Source§fn from(call: FunctionShellCallItemParam) -> Self
fn from(call: FunctionShellCallItemParam) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for FunctionShellCallItemParam
Auto Trait Implementations§
impl Freeze for FunctionShellCallItemParam
impl RefUnwindSafe for FunctionShellCallItemParam
impl Send for FunctionShellCallItemParam
impl Sync for FunctionShellCallItemParam
impl Unpin for FunctionShellCallItemParam
impl UnwindSafe for FunctionShellCallItemParam
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