pub struct StreamSummary {
pub byte_len: usize,
pub line_count: usize,
pub snippet: String,
pub truncated: bool,
pub redacted: bool,
}Expand description
Bounded and redacted stream summary.
Fields§
§byte_len: usizeOriginal stream byte length before redaction or truncation.
line_count: usizeOriginal stream line count before redaction or truncation.
snippet: StringRedacted snippet retained in memory.
truncated: boolWhether the redacted snippet was truncated.
redacted: boolWhether any obvious secret-looking text was redacted.
Implementations§
Trait Implementations§
Source§impl Clone for StreamSummary
impl Clone for StreamSummary
Source§impl Debug for StreamSummary
impl Debug for StreamSummary
Source§impl Default for StreamSummary
impl Default for StreamSummary
impl Eq for StreamSummary
Source§impl PartialEq for StreamSummary
impl PartialEq for StreamSummary
impl StructuralPartialEq for StreamSummary
Auto Trait Implementations§
impl Forget for StreamSummary
impl Freeze for StreamSummary
impl RefUnwindSafe for StreamSummary
impl Send for StreamSummary
impl Sync for StreamSummary
impl Unpin for StreamSummary
impl UnsafeUnpin for StreamSummary
impl UnwindSafe for StreamSummary
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