Struct diesel::expression::expression_types::NotSelectable
source · pub struct NotSelectable;
Expand description
Query nodes witch cannot be part of a select clause.
If you see an error message containing FromSqlRow
and this type
recheck that you have written a valid select clause
Trait Implementations§
source§impl Clone for NotSelectable
impl Clone for NotSelectable
source§fn clone(&self) -> NotSelectable
fn clone(&self) -> NotSelectable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotSelectable
impl Debug for NotSelectable
impl Copy for NotSelectable
impl TypedExpressionType for NotSelectable
Auto Trait Implementations§
impl RefUnwindSafe for NotSelectable
impl Send for NotSelectable
impl Sync for NotSelectable
impl Unpin for NotSelectable
impl UnwindSafe for NotSelectable
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more