pub struct TruncationResult {
pub content: String,
pub truncated: bool,
pub truncated_by: Option<String>,
pub output_lines: usize,
pub total_lines: usize,
pub max_lines: Option<usize>,
pub max_bytes: Option<usize>,
pub first_line_exceeds_limit: bool,
pub output_bytes: usize,
pub last_line_partial: bool,
}Fields§
§content: String§truncated: bool§truncated_by: Option<String>§output_lines: usize§total_lines: usize§max_lines: Option<usize>§max_bytes: Option<usize>§first_line_exceeds_limit: bool§output_bytes: usize§last_line_partial: boolTrait Implementations§
Source§impl Clone for TruncationResult
impl Clone for TruncationResult
Source§impl Debug for TruncationResult
impl Debug for TruncationResult
Source§impl Default for TruncationResult
impl Default for TruncationResult
Source§impl<'de> Deserialize<'de> for TruncationResult
impl<'de> Deserialize<'de> for TruncationResult
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
Auto Trait Implementations§
impl Forget for TruncationResult
impl Freeze for TruncationResult
impl Move for TruncationResult
impl RefUnwindSafe for TruncationResult
impl Send for TruncationResult
impl Sync for TruncationResult
impl Unpin for TruncationResult
impl UnsafeUnpin for TruncationResult
impl UnwindSafe for TruncationResult
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