pub struct EagerLoader<T: Model> { /* private fields */ }Expand description
Implementations§
Source§impl<T: Model> EagerLoader<T>
impl<T: Model> EagerLoader<T>
Sourcepub fn include_nested(self, path: &'static str) -> Self
pub fn include_nested(self, path: &'static str) -> Self
Sourcepub fn includes(&self) -> &[IncludePath]
pub fn includes(&self) -> &[IncludePath]
Get the include paths.
Sourcepub fn has_includes(&self) -> bool
pub fn has_includes(&self) -> bool
Check if any relationships are included.
Trait Implementations§
Source§impl<T: Clone + Model> Clone for EagerLoader<T>
impl<T: Clone + Model> Clone for EagerLoader<T>
Source§fn clone(&self) -> EagerLoader<T>
fn clone(&self) -> EagerLoader<T>
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<T> Freeze for EagerLoader<T>
impl<T> RefUnwindSafe for EagerLoader<T>where
T: RefUnwindSafe,
impl<T> Send for EagerLoader<T>
impl<T> Sync for EagerLoader<T>
impl<T> Unpin for EagerLoader<T>where
T: Unpin,
impl<T> UnsafeUnpin for EagerLoader<T>
impl<T> UnwindSafe for EagerLoader<T>where
T: UnwindSafe,
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).