pub struct ResourceStats {
pub max_depth: usize,
pub anchor_count: usize,
pub bytes_processed: usize,
pub complexity_score: usize,
pub collection_items: usize,
}Expand description
Resource usage statistics
Fields§
§max_depth: usizeMaximum depth reached during processing
anchor_count: usizeTotal number of anchors encountered
bytes_processed: usizeTotal bytes processed
complexity_score: usizeTotal complexity score
collection_items: usizeTotal collection items processed
Trait Implementations§
Source§impl Clone for ResourceStats
impl Clone for ResourceStats
Source§fn clone(&self) -> ResourceStats
fn clone(&self) -> ResourceStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceStats
impl RefUnwindSafe for ResourceStats
impl Send for ResourceStats
impl Sync for ResourceStats
impl Unpin for ResourceStats
impl UnwindSafe for ResourceStats
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