Skip to main content

IntoSelect

Trait IntoSelect 

Source
pub trait IntoSelect<'a, S, M, R> {
    type State: ClauseAllowed<Compound>;
    type Table;

    // Required method
    fn into_select(self) -> SelectBuilder<'a, S, Self::State, Self::Table, M, R>;
}
Expand description

A query that can be the right-hand side of a set operation.

Implemented for completed SelectBuilders and for the driver builders in the drizzle crate that wrap one.

Required Associated Types§

Source

type State: ClauseAllowed<Compound>

Builder state of the converted query.

Source

type Table

FROM table of the converted query.

Required Methods§

Source

fn into_select(self) -> SelectBuilder<'a, S, Self::State, Self::Table, M, R>

Returns the underlying SelectBuilder.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, S, State: ClauseAllowed<Compound>, T, M, R, G> IntoSelect<'a, S, M, R> for SelectBuilder<'a, S, State, T, M, R, G>

Source§

type State = State

Source§

type Table = T