pub struct CTEView<'a, V: SQLParam, Table, Query> {
pub table: Table,
/* private fields */
}Expand description
A CTE view with typed table projection.
Fields§
§table: TableThe aliased table used for typed field access.
Implementations§
Trait Implementations§
Source§impl<'a, V, Table, Query> CTEDefinition<'a, V> for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> CTEDefinition<'a, V> for CTEView<'a, V, Table, Query>
Source§fn cte_definition(&self) -> SQL<'a, V>
fn cte_definition(&self) -> SQL<'a, V>
Returns SQL such as
cte_name AS (SELECT ...).Source§impl<'a, V, Table, Query> CTEDefinition<'a, V> for &CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> CTEDefinition<'a, V> for &CTEView<'a, V, Table, Query>
Source§fn cte_definition(&self) -> SQL<'a, V>
fn cte_definition(&self) -> SQL<'a, V>
Returns SQL such as
cte_name AS (SELECT ...).Source§impl<'a, V: Clone + SQLParam, Table: Clone, Query: Clone> Clone for CTEView<'a, V, Table, Query>
impl<'a, V: Clone + SQLParam, Table: Clone, Query: Clone> Clone for CTEView<'a, V, Table, Query>
Source§impl<'a, V: Debug + SQLParam, Table: Debug, Query: Debug> Debug for CTEView<'a, V, Table, Query>
impl<'a, V: Debug + SQLParam, Table: Debug, Query: Debug> Debug for CTEView<'a, V, Table, Query>
Auto Trait Implementations§
impl<'a, V, Table, Query> Freeze for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> RefUnwindSafe for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> Send for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> Sync for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> Unpin for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> UnsafeUnpin for CTEView<'a, V, Table, Query>
impl<'a, V, Table, Query> UnwindSafe for CTEView<'a, V, Table, 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