pub struct ToolLimits {
pub max_result_bytes: usize,
pub max_read_file_lines: usize,
pub max_read_file_line_bytes: usize,
pub max_list_entries: usize,
pub command_timeout: Option<Duration>,
}Fields§
§max_result_bytes: usize§max_read_file_lines: usize§max_read_file_line_bytes: usize§max_list_entries: usize§command_timeout: Option<Duration>Trait Implementations§
Source§impl Clone for ToolLimits
impl Clone for ToolLimits
Source§fn clone(&self) -> ToolLimits
fn clone(&self) -> ToolLimits
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 moreimpl Copy for ToolLimits
Source§impl Debug for ToolLimits
impl Debug for ToolLimits
Auto Trait Implementations§
impl Freeze for ToolLimits
impl RefUnwindSafe for ToolLimits
impl Send for ToolLimits
impl Sync for ToolLimits
impl Unpin for ToolLimits
impl UnsafeUnpin for ToolLimits
impl UnwindSafe for ToolLimits
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