pub struct CallSite {
pub parent_type: &'static str,
pub relationship: &'static str,
pub file: &'static str,
pub line: u32,
pub timestamp: Instant,
}Expand description
Information about where a lazy load was triggered.
Fields§
§parent_type: &'static strThe parent model type name
relationship: &'static strThe relationship field name
file: &'static strSource file where the load was triggered
line: u32Line number in the source file
timestamp: InstantWhen the load occurred
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallSite
impl RefUnwindSafe for CallSite
impl Send for CallSite
impl Sync for CallSite
impl Unpin for CallSite
impl UnsafeUnpin for CallSite
impl UnwindSafe for CallSite
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).