pub struct ToolOutputTruncation {
pub truncate: Option<ToolOutputTruncationTruncateStrategy>,
pub error: Option<ToolOutputTruncationErrorStrategy>,
}Expand description
antigravity.localharness.ToolOutputTruncation
Fields§
§truncate: Option<ToolOutputTruncationTruncateStrategy>§error: Option<ToolOutputTruncationErrorStrategy>Implementations§
Source§impl ToolOutputTruncation
impl ToolOutputTruncation
Sourcepub fn into_strategy(self) -> Option<ToolOutputTruncationStrategy>
pub fn into_strategy(self) -> Option<ToolOutputTruncationStrategy>
Takes the set arm of the strategy oneof, if any.
Sourcepub fn has_strategy(&self) -> bool
pub fn has_strategy(&self) -> bool
True when any arm of the strategy oneof is set.
Trait Implementations§
Source§impl Clone for ToolOutputTruncation
impl Clone for ToolOutputTruncation
Source§fn clone(&self) -> ToolOutputTruncation
fn clone(&self) -> ToolOutputTruncation
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 ToolOutputTruncation
impl Debug for ToolOutputTruncation
Source§impl Default for ToolOutputTruncation
impl Default for ToolOutputTruncation
Source§fn default() -> ToolOutputTruncation
fn default() -> ToolOutputTruncation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolOutputTruncation
impl<'de> Deserialize<'de> for ToolOutputTruncation
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 ToolOutputTruncation
impl PartialEq for ToolOutputTruncation
Source§impl Serialize for ToolOutputTruncation
impl Serialize for ToolOutputTruncation
impl StructuralPartialEq for ToolOutputTruncation
Auto Trait Implementations§
impl Freeze for ToolOutputTruncation
impl RefUnwindSafe for ToolOutputTruncation
impl Send for ToolOutputTruncation
impl Sync for ToolOutputTruncation
impl Unpin for ToolOutputTruncation
impl UnsafeUnpin for ToolOutputTruncation
impl UnwindSafe for ToolOutputTruncation
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