pub struct MultiPrefetchRelatedQuery<M: Model, R1, Relation1, R2, Relation2, Key1 = <M as Model>::PrimaryKey, Key2 = <M as Model>::PrimaryKey> { /* private fields */ }Implementations§
Source§impl<M, R1, Relation1, R2, Relation2, Key1, Key2> MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>where
M: Model + Send + 'static,
R1: Model + Send + 'static,
R2: Model + Send + 'static,
Relation1: Send + 'static,
Relation2: Send + 'static,
Key1: ForeignKeyValue<M::PrimaryKey>,
Key2: ForeignKeyValue<M::PrimaryKey>,
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>where
M: Model + Send + 'static,
R1: Model + Send + 'static,
R2: Model + Send + 'static,
Relation1: Send + 'static,
Relation2: Send + 'static,
Key1: ForeignKeyValue<M::PrimaryKey>,
Key2: ForeignKeyValue<M::PrimaryKey>,
pub async fn all( self, db: &Database, ) -> Result<Vec<Loaded<M, (LoadedMany<R1, Relation1>, LoadedMany<R2, Relation2>)>>, OrmError>
Auto Trait Implementations§
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> Freeze for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> RefUnwindSafe for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>where
SelectQuery<M>: RefUnwindSafe,
HasMany<M, R1, Relation1, Key1>: RefUnwindSafe,
HasMany<M, R2, Relation2, Key2>: RefUnwindSafe,
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> Send for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> Sync for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> Unpin for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> UnsafeUnpin for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>where
SelectQuery<M>: UnsafeUnpin,
HasMany<M, R1, Relation1, Key1>: UnsafeUnpin,
HasMany<M, R2, Relation2, Key2>: UnsafeUnpin,
impl<M, R1, Relation1, R2, Relation2, Key1, Key2> UnwindSafe for MultiPrefetchRelatedQuery<M, R1, Relation1, R2, Relation2, Key1, Key2>where
SelectQuery<M>: UnwindSafe,
HasMany<M, R1, Relation1, Key1>: UnwindSafe,
HasMany<M, R2, Relation2, Key2>: 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