pub struct CompressedOutput {
pub content: String,
pub original_size: usize,
pub compressed_size: usize,
pub strategy: &'static str,
}Expand description
Result of compressing bash tool output.
Fields§
§content: StringThe model-facing content (compressed or original).
original_size: usizeNumber of characters in the original input.
compressed_size: usizeNumber of characters in the output content.
strategy: &'static strThe compression strategy applied.
Trait Implementations§
Source§impl Clone for CompressedOutput
impl Clone for CompressedOutput
Source§fn clone(&self) -> CompressedOutput
fn clone(&self) -> CompressedOutput
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 moreAuto Trait Implementations§
impl Freeze for CompressedOutput
impl RefUnwindSafe for CompressedOutput
impl Send for CompressedOutput
impl Sync for CompressedOutput
impl Unpin for CompressedOutput
impl UnsafeUnpin for CompressedOutput
impl UnwindSafe for CompressedOutput
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