Skip to main content

NestedPrefetchQuery

Struct NestedPrefetchQuery 

Source
pub struct NestedPrefetchQuery<M, R, Relation, C, ChildRelation> { /* private fields */ }

Implementations§

Source§

impl<M, R, Relation, C, ChildRelation> NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where M: Model + Send + 'static, R: Model + Send + 'static, C: Model + Send + 'static, Relation: Send + 'static, ChildRelation: Send + 'static,

Source

pub async fn all( self, database: &Database, ) -> Result<Vec<Loaded<M, (LoadedMany<Loaded<R, (LoadedMany<C, ChildRelation>,)>, Relation>,)>>, OrmError>

Auto Trait Implementations§

§

impl<M, R, Relation, C, ChildRelation> Freeze for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: Freeze, HasMany<M, R, Relation>: Freeze, HasMany<R, C, ChildRelation>: Freeze,

§

impl<M, R, Relation, C, ChildRelation> RefUnwindSafe for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: RefUnwindSafe, HasMany<M, R, Relation>: RefUnwindSafe, HasMany<R, C, ChildRelation>: RefUnwindSafe,

§

impl<M, R, Relation, C, ChildRelation> Send for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: Send, HasMany<M, R, Relation>: Send, HasMany<R, C, ChildRelation>: Send,

§

impl<M, R, Relation, C, ChildRelation> Sync for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: Sync, HasMany<M, R, Relation>: Sync, HasMany<R, C, ChildRelation>: Sync,

§

impl<M, R, Relation, C, ChildRelation> Unpin for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: Unpin, HasMany<M, R, Relation>: Unpin, HasMany<R, C, ChildRelation>: Unpin,

§

impl<M, R, Relation, C, ChildRelation> UnsafeUnpin for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: UnsafeUnpin, HasMany<M, R, Relation>: UnsafeUnpin, HasMany<R, C, ChildRelation>: UnsafeUnpin,

§

impl<M, R, Relation, C, ChildRelation> UnwindSafe for NestedPrefetchQuery<M, R, Relation, C, ChildRelation>
where SelectQuery<M>: UnwindSafe, HasMany<M, R, Relation>: UnwindSafe, HasMany<R, C, ChildRelation>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.