pub struct ToolOutputBudgetConfig {
pub mode: ToolOutputBudgetMode,
pub limit: usize,
pub max_lines: usize,
}Fields§
§mode: ToolOutputBudgetMode§limit: usize§max_lines: usizeTrait Implementations§
Source§impl Clone for ToolOutputBudgetConfig
impl Clone for ToolOutputBudgetConfig
Source§fn clone(&self) -> ToolOutputBudgetConfig
fn clone(&self) -> ToolOutputBudgetConfig
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 moreSource§impl Debug for ToolOutputBudgetConfig
impl Debug for ToolOutputBudgetConfig
Source§impl Default for ToolOutputBudgetConfig
impl Default for ToolOutputBudgetConfig
Source§impl<'de> Deserialize<'de> for ToolOutputBudgetConfigwhere
ToolOutputBudgetConfig: Default,
impl<'de> Deserialize<'de> for ToolOutputBudgetConfigwhere
ToolOutputBudgetConfig: Default,
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 ToolOutputBudgetConfig
impl PartialEq for ToolOutputBudgetConfig
Source§fn eq(&self, other: &ToolOutputBudgetConfig) -> bool
fn eq(&self, other: &ToolOutputBudgetConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolOutputBudgetConfig
impl Serialize for ToolOutputBudgetConfig
impl Eq for ToolOutputBudgetConfig
impl StructuralPartialEq for ToolOutputBudgetConfig
Auto Trait Implementations§
impl Freeze for ToolOutputBudgetConfig
impl RefUnwindSafe for ToolOutputBudgetConfig
impl Send for ToolOutputBudgetConfig
impl Sync for ToolOutputBudgetConfig
impl Unpin for ToolOutputBudgetConfig
impl UnsafeUnpin for ToolOutputBudgetConfig
impl UnwindSafe for ToolOutputBudgetConfig
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