pub struct ToolOutputTruncationErrorStrategy {
pub max_tokens: Option<i32>,
pub error_message: Option<String>,
}Expand description
antigravity.localharness.ToolOutputTruncation.ErrorStrategy
Fields§
§max_tokens: Option<i32>§error_message: Option<String>Trait Implementations§
Source§impl Clone for ToolOutputTruncationErrorStrategy
impl Clone for ToolOutputTruncationErrorStrategy
Source§fn clone(&self) -> ToolOutputTruncationErrorStrategy
fn clone(&self) -> ToolOutputTruncationErrorStrategy
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 Default for ToolOutputTruncationErrorStrategy
impl Default for ToolOutputTruncationErrorStrategy
Source§fn default() -> ToolOutputTruncationErrorStrategy
fn default() -> ToolOutputTruncationErrorStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolOutputTruncationErrorStrategy
impl<'de> Deserialize<'de> for ToolOutputTruncationErrorStrategy
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
impl StructuralPartialEq for ToolOutputTruncationErrorStrategy
Auto Trait Implementations§
impl Freeze for ToolOutputTruncationErrorStrategy
impl RefUnwindSafe for ToolOutputTruncationErrorStrategy
impl Send for ToolOutputTruncationErrorStrategy
impl Sync for ToolOutputTruncationErrorStrategy
impl Unpin for ToolOutputTruncationErrorStrategy
impl UnsafeUnpin for ToolOutputTruncationErrorStrategy
impl UnwindSafe for ToolOutputTruncationErrorStrategy
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