Skip to main content

NestedPrefetchPlan

Struct NestedPrefetchPlan 

Source
pub struct NestedPrefetchPlan<M: Model, R: Model, Relation, C, ChildRelation, OuterKey = <M as Model>::PrimaryKey, InnerKey = <R as Model>::PrimaryKey> { /* private fields */ }

Trait Implementations§

Source§

impl<M: Model, R: Model, Relation, C, ChildRelation, OuterKey: ForeignKeyValue<M::PrimaryKey>, InnerKey: ForeignKeyValue<R::PrimaryKey>> PrefetchRelation<M> for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>

Source§

type Query = NestedPrefetchQuery<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>

Source§

fn into_query(self, query: SelectQuery<M>) -> Self::Query

Auto Trait Implementations§

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> Freeze for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: Freeze, HasMany<R, C, ChildRelation, InnerKey>: Freeze,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> RefUnwindSafe for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: RefUnwindSafe, HasMany<R, C, ChildRelation, InnerKey>: RefUnwindSafe,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> Send for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: Send, HasMany<R, C, ChildRelation, InnerKey>: Send,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> Sync for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: Sync, HasMany<R, C, ChildRelation, InnerKey>: Sync,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> Unpin for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: Unpin, HasMany<R, C, ChildRelation, InnerKey>: Unpin,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> UnsafeUnpin for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: UnsafeUnpin, HasMany<R, C, ChildRelation, InnerKey>: UnsafeUnpin,

§

impl<M, R, Relation, C, ChildRelation, OuterKey, InnerKey> UnwindSafe for NestedPrefetchPlan<M, R, Relation, C, ChildRelation, OuterKey, InnerKey>
where HasMany<M, R, Relation, OuterKey>: UnwindSafe, HasMany<R, C, ChildRelation, InnerKey>: 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.