pub struct Derived<'a, V: SQLParam, Name, Projection, Query> { /* private fields */ }Expand description
A complete query used as a named source in another query.
Implementations§
Source§impl<'a, V, Name, Projection, Query> Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> Derived<'a, V, Name, Projection, Query>
Sourcepub fn into_query(self) -> Query
pub fn into_query(self) -> Query
Returns the underlying query by value.
Trait Implementations§
Source§impl<'a, V: SQLParam, Name, Projection, Query: Clone> Clone for Derived<'a, V, Name, Projection, Query>
impl<'a, V: SQLParam, Name, Projection, Query: Clone> Clone for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Output, Projection, Query> ColumnOf<Derived<'a, V, Name, Projection, Query>> for DerivedField<Name, Output>where
V: SQLParam,
Source§impl<'a, V, Name, Projection, Query> HasSelectModel for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> HasSelectModel for Derived<'a, V, Name, Projection, Query>
const COLUMN_COUNT: usize = Projection::COLUMN_COUNT
type SelectModel = <Projection as DerivedProjection<Name>>::Row
Auto Trait Implementations§
impl<'a, V, Name, Projection, Query> Freeze for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> RefUnwindSafe for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> Send for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> Sync for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> Unpin for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> UnsafeUnpin for Derived<'a, V, Name, Projection, Query>
impl<'a, V, Name, Projection, Query> UnwindSafe for Derived<'a, V, Name, Projection, Query>
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