pub struct ScanStats {
pub bytes: usize,
pub max_depth_seen: usize,
pub values: usize,
}Expand description
What an accepted scan observed.
Fields§
§bytes: usizeInput length in bytes.
max_depth_seen: usizeDeepest container nesting reached (0 for a top-level scalar).
values: usizeValues counted under ParseLimits::max_total_values.
Trait Implementations§
impl Copy for ScanStats
impl Eq for ScanStats
impl StructuralPartialEq for ScanStats
Auto Trait Implementations§
impl Freeze for ScanStats
impl RefUnwindSafe for ScanStats
impl Send for ScanStats
impl Sync for ScanStats
impl Unpin for ScanStats
impl UnsafeUnpin for ScanStats
impl UnwindSafe for ScanStats
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