pub struct N1Stats {
pub total_loads: usize,
pub relationships_loaded: usize,
pub potential_n1: usize,
}Expand description
Statistics about N+1 detection.
Fields§
§total_loads: usizeTotal number of lazy loads recorded
relationships_loaded: usizeNumber of distinct relationships loaded
potential_n1: usizeNumber of relationships that exceeded the threshold
Trait Implementations§
Auto Trait Implementations§
impl Freeze for N1Stats
impl RefUnwindSafe for N1Stats
impl Send for N1Stats
impl Sync for N1Stats
impl Unpin for N1Stats
impl UnsafeUnpin for N1Stats
impl UnwindSafe for N1Stats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).