pub struct FunctionShellToolParam {
pub environment: Option<FunctionShellEnvironment>,
pub allowed_callers: Option<Vec<CallableToolAllowedCaller>>,
}Available on crate feature
response-types only.Expand description
Parameters for the shell function tool.
Fields§
§environment: Option<FunctionShellEnvironment>The execution environment for the shell tool.
allowed_callers: Option<Vec<CallableToolAllowedCaller>>Trait Implementations§
Source§impl Clone for FunctionShellToolParam
impl Clone for FunctionShellToolParam
Source§impl Debug for FunctionShellToolParam
impl Debug for FunctionShellToolParam
Source§impl Default for FunctionShellToolParam
impl Default for FunctionShellToolParam
Source§impl<'de> Deserialize<'de> for FunctionShellToolParam
impl<'de> Deserialize<'de> for FunctionShellToolParam
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 FunctionShellToolParam
impl PartialEq for FunctionShellToolParam
Source§impl Serialize for FunctionShellToolParam
impl Serialize for FunctionShellToolParam
impl StructuralPartialEq for FunctionShellToolParam
Auto Trait Implementations§
impl Freeze for FunctionShellToolParam
impl RefUnwindSafe for FunctionShellToolParam
impl Send for FunctionShellToolParam
impl Sync for FunctionShellToolParam
impl Unpin for FunctionShellToolParam
impl UnsafeUnpin for FunctionShellToolParam
impl UnwindSafe for FunctionShellToolParam
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