[][src]Struct wundergraph::prelude::HasMany

pub struct HasMany<T, FK>(_, _);

Type used to indicate that a given field references multiple other entities by a given id

Trait Implementations

impl<L, O, DB, Ctx, FK> AsNonColumnFilter<L, DB, Ctx> for HasMany<O, FK> where
    L: HasTable,
    FK: Default + NonAggregate + QueryFragment<DB> + SelectableExpression<O::Table>,
    O: WundergraphBelongsTo<L::Table, DB, Ctx, FK>,
    O::Table: 'static,
    DB: Backend + ApplyOffset + 'static,
    <O::Table as QuerySource>::FromClause: QueryFragment<DB>,
    DB::QueryBuilder: Default
[src]

type Filter = ReferenceFilter<<L::Table as Table>::PrimaryKey, Filter<O::Filter, O::Table>, FK, ()>

Type of the filter

impl<T: Clone, FK: Clone> Clone for HasMany<T, FK>[src]

impl<T: Debug, FK: Debug> Debug for HasMany<T, FK>[src]

impl<T: Eq, FK: Eq> Eq for HasMany<T, FK>[src]

impl<T: Hash, FK: Hash> Hash for HasMany<T, FK>[src]

impl<A, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A,) where
    (A,): NonTableFieldExtractor,
    <(A,) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A,) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B) where
    (A, B): NonTableFieldExtractor,
    <(A, B) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K) where
    (A, B, C, D, E, F, G, H, I, J, K): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L) where
    (A, B, C, D, E, F, G, H, I, J, K, L): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K, L) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K, L) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K, L, M) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K, L, M) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K, L, M, N) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K, L, M, N) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C) where
    (A, B, C): NonTableFieldExtractor,
    <(A, B, C) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D) where
    (A, B, C, D): NonTableFieldExtractor,
    <(A, B, C, D) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E) where
    (A, B, C, D, E): NonTableFieldExtractor,
    <(A, B, C, D, E) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F) where
    (A, B, C, D, E, F): NonTableFieldExtractor,
    <(A, B, C, D, E, F) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G) where
    (A, B, C, D, E, F, G): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H) where
    (A, B, C, D, E, F, G, H): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I) where
    (A, B, C, D, E, F, G, H, I): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, Next, ForeignKey> NonTableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J) where
    (A, B, C, D, E, F, G, H, I, J): NonTableFieldExtractor,
    <(A, B, C, D, E, F, G, H, I, J) as NonTableFieldExtractor>::Out: AppendToTuple<HasMany<Next, ForeignKey>>, 
[src]

type Out = <<(A, B, C, D, E, F, G, H, I, J) as NonTableFieldExtractor>::Out as AppendToTuple<HasMany<Next, ForeignKey>>>::Out

List of all collected fields Read more

impl<T, FK> NonTableFieldCollector<HasMany<T, FK>> for ()[src]

type Out = (HasMany<T, FK>,)

List of all collected fields Read more

impl<T: PartialEq, FK: PartialEq> PartialEq<HasMany<T, FK>> for HasMany<T, FK>[src]

impl<T, FK> StructuralEq for HasMany<T, FK>[src]

impl<T, FK> StructuralPartialEq for HasMany<T, FK>[src]

impl<A, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A,) where
    (A,): FieldListExtractor
[src]

type Out = <(A,) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B) where
    (A, B): FieldListExtractor
[src]

type Out = <(A, B) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K) where
    (A, B, C, D, E, F, G, H, I, J, K): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L) where
    (A, B, C, D, E, F, G, H, I, J, K, L): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K, L) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K, L, M) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K, L, M, N) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
    (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C) where
    (A, B, C): FieldListExtractor
[src]

type Out = <(A, B, C) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D) where
    (A, B, C, D): FieldListExtractor
[src]

type Out = <(A, B, C, D) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E) where
    (A, B, C, D, E): FieldListExtractor
[src]

type Out = <(A, B, C, D, E) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F) where
    (A, B, C, D, E, F): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G) where
    (A, B, C, D, E, F, G): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H) where
    (A, B, C, D, E, F, G, H): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I) where
    (A, B, C, D, E, F, G, H, I): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I) as FieldListExtractor>::Out

List of all collected fields Read more

impl<A, B, C, D, E, F, G, H, I, J, Next, ForeignKey> TableFieldCollector<HasMany<Next, ForeignKey>> for (A, B, C, D, E, F, G, H, I, J) where
    (A, B, C, D, E, F, G, H, I, J): FieldListExtractor
[src]

type Out = <(A, B, C, D, E, F, G, H, I, J) as FieldListExtractor>::Out

List of all collected fields Read more

impl<T, FK> TableFieldCollector<HasMany<T, FK>> for ()[src]

type Out = ()

List of all collected fields Read more

Auto Trait Implementations

impl<T, FK> RefUnwindSafe for HasMany<T, FK> where
    FK: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, FK> Send for HasMany<T, FK> where
    FK: Send,
    T: Send

impl<T, FK> Sync for HasMany<T, FK> where
    FK: Sync,
    T: Sync

impl<T, FK> Unpin for HasMany<T, FK> where
    FK: Unpin,
    T: Unpin

impl<T, FK> UnwindSafe for HasMany<T, FK> where
    FK: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.