pub struct CTEView<'a, Table, Query> {
pub table: Table,
/* private fields */
}Expand description
A CTE (Common Table Expression) view with typed table projection.
Fields§
§table: TableThe aliased table for typed field access.
Implementations§
Source§impl<'a, Table, Query> CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
impl<'a, Table, Query> CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
Trait Implementations§
Source§impl<'a, Table, Query> CTEDefinition<'a> for CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
impl<'a, Table, Query> CTEDefinition<'a> for CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
Source§fn cte_definition(&self) -> SQL<'a, PostgresValue<'a>>
fn cte_definition(&self) -> SQL<'a, PostgresValue<'a>>
Returns the SQL for the CTE definition (e.g.,
cte_name AS (SELECT ...)).Source§impl<'a, Table, Query> CTEDefinition<'a> for &CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
impl<'a, Table, Query> CTEDefinition<'a> for &CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
Source§fn cte_definition(&self) -> SQL<'a, PostgresValue<'a>>
fn cte_definition(&self) -> SQL<'a, PostgresValue<'a>>
Returns the SQL for the CTE definition (e.g.,
cte_name AS (SELECT ...)).Source§impl<'a, Table, Query> ToSQL<'a, PostgresValue<'a>> for CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
impl<'a, Table, Query> ToSQL<'a, PostgresValue<'a>> for CTEView<'a, Table, Query>where
Query: ToSQL<'a, PostgresValue<'a>>,
Auto Trait Implementations§
impl<'a, Table, Query> !RefUnwindSafe for CTEView<'a, Table, Query>
impl<'a, Table, Query> !UnwindSafe for CTEView<'a, Table, Query>
impl<'a, Table, Query> Freeze for CTEView<'a, Table, Query>
impl<'a, Table, Query> Send for CTEView<'a, Table, Query>
impl<'a, Table, Query> Sync for CTEView<'a, Table, Query>
impl<'a, Table, Query> Unpin for CTEView<'a, Table, Query>
impl<'a, Table, Query> UnsafeUnpin for CTEView<'a, Table, Query>where
Table: UnsafeUnpin,
Query: UnsafeUnpin,
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