pub struct ToolSettings {
pub enabled: bool,
pub require_confirmation: bool,
pub allowed_tools: Vec<String>,
pub max_execution_time_ms: u64,
pub rate_limit: RateLimitSettings,
}
Fields§
§enabled: bool
§require_confirmation: bool
§allowed_tools: Vec<String>
§max_execution_time_ms: u64
§rate_limit: RateLimitSettings
Trait Implementations§
Source§impl Clone for ToolSettings
impl Clone for ToolSettings
Source§fn clone(&self) -> ToolSettings
fn clone(&self) -> ToolSettings
Returns a copy 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 ToolSettings
impl Debug for ToolSettings
Source§impl Default for ToolSettings
impl Default for ToolSettings
Source§impl<'de> Deserialize<'de> for ToolSettings
impl<'de> Deserialize<'de> for ToolSettings
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 ToolSettings
impl RefUnwindSafe for ToolSettings
impl Send for ToolSettings
impl Sync for ToolSettings
impl Unpin for ToolSettings
impl UnwindSafe for ToolSettings
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