pub struct Prefetch<M: Model, T: Model> { /* private fields */ }Expand description
prefetch_related request: a relation and, optionally, the queryset used
to load the targets (to filter them, order them or use another handle).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M, T> !RefUnwindSafe for Prefetch<M, T>
impl<M, T> !UnwindSafe for Prefetch<M, T>
impl<M, T> Freeze for Prefetch<M, T>
impl<M, T> Send for Prefetch<M, T>
impl<M, T> Sync for Prefetch<M, T>
impl<M, T> Unpin for Prefetch<M, T>
impl<M, T> UnsafeUnpin for Prefetch<M, T>
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