[−][src]Enum juniper_eager_loading::LoadChildrenOutput
The result of loading child models.
HasOne
, OptionHasOne
, HasMany
can return the child models directly because
the model has the foreign key. However for HasManyThrough
neither the parent or child
model has any of the foreign keys. Only the join model does. So we have to include those in the
result.
Unless you're customizing EagerLoadChildrenOfType
you shouldn't have to worry about this.
Variants
ChildModels(Vec<ChildModel>)
Child models were loaded.
Child models along with the respective join model was loaded.
Trait Implementations
impl<ChildModel: Debug, JoinModel: Debug> Debug for LoadChildrenOutput<ChildModel, JoinModel>
[src]
Auto Trait Implementations
impl<ChildModel, JoinModel> Send for LoadChildrenOutput<ChildModel, JoinModel> where
ChildModel: Send,
JoinModel: Send,
ChildModel: Send,
JoinModel: Send,
impl<ChildModel, JoinModel> Sync for LoadChildrenOutput<ChildModel, JoinModel> where
ChildModel: Sync,
JoinModel: Sync,
ChildModel: Sync,
JoinModel: Sync,
impl<ChildModel, JoinModel> Unpin for LoadChildrenOutput<ChildModel, JoinModel> where
ChildModel: Unpin,
JoinModel: Unpin,
ChildModel: Unpin,
JoinModel: Unpin,
impl<ChildModel, JoinModel> UnwindSafe for LoadChildrenOutput<ChildModel, JoinModel> where
ChildModel: UnwindSafe,
JoinModel: UnwindSafe,
ChildModel: UnwindSafe,
JoinModel: UnwindSafe,
impl<ChildModel, JoinModel> RefUnwindSafe for LoadChildrenOutput<ChildModel, JoinModel> where
ChildModel: RefUnwindSafe,
JoinModel: RefUnwindSafe,
ChildModel: RefUnwindSafe,
JoinModel: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,