[]Struct raspberry_web::schema::allowed_states::columns::state_type

pub struct state_type;

Trait Implementations

impl Copy for state_type

impl Clone for state_type

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for state_type

impl Debug for state_type

impl SelectableExpression<table> for state_type

impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for state_type where
    state_type: AppearsOnTable<Join<Left, Right, LeftOuter>>,
    Left: AppearsInFromClause<table, Count = Once>,
    Right: AppearsInFromClause<table, Count = Never>, 

impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for state_type where
    state_type: AppearsOnTable<Join<Left, Right, Inner>>,
    Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>, 

impl<Join, On> SelectableExpression<JoinOn<Join, On>> for state_type where
    state_type: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>, 

impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for state_type where
    state_type: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>, 

impl Expression for state_type

type SqlType = Text

The type that this expression represents in SQL

impl<T> EqAll<T> for state_type where
    T: AsExpression<Text>,
    Eq<state_type, T>: Expression<SqlType = Bool>, 

type Output = Eq<Self, T>

impl Column for state_type

type Table = table

The table which this column belongs to

impl<QS> AppearsOnTable<QS> for state_type where
    QS: AppearsInFromClause<table, Count = Once>, 

impl<DB> QueryFragment<DB> for state_type where
    DB: Backend,
    <table as QuerySource>::FromClause: QueryFragment<DB>, 

default fn to_sql(
    &self,
    out: &mut <DB as Backend>::QueryBuilder
) -> Result<(), Error>
[src]

Converts this QueryFragment to its SQL representation. Read more

default fn collect_binds(
    &self,
    out: &mut <DB as Backend>::BindCollector,
    metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
[src]

Serializes all bind parameters in this query. Read more

default fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>[src]

Is this query safe to store in the prepared statement cache? Read more

impl QueryId for state_type

type QueryId = state_type

A type which uniquely represents Self in a SQL query. Read more

default fn query_id() -> Option<TypeId>[src]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl NonAggregate for state_type

Auto Trait Implementations

impl Send for state_type

impl Sync for state_type

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<QS, T, DB> BoxableExpression for T where
    DB: Backend,
    T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>, 
[src]

impl<T> IntoSql for T[src]

default fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

Convert self to an expression for Diesel's query builder. Read more

default fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more

impl<T> ExpressionMethods for T where
    T: Expression,
    <T as Expression>::SqlType: SingleValue
[src]

default fn eq<T>(
    self,
    other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL = expression. Read more

default fn ne<T>(
    self,
    other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL != expression. Read more

default fn eq_any<T>(
    self,
    values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
    T: AsInExpression<Self::SqlType>, 
[src]

Creates a SQL IN statement. Read more

default fn ne_any<T>(
    self,
    values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
    T: AsInExpression<Self::SqlType>, 
[src]

Deprecated since 1.2.0:

use ne_all instead

Deprecated alias for ne_all Read more

default fn ne_all<T>(
    self,
    values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
    T: AsInExpression<Self::SqlType>, 
[src]

Creates a SQL NOT IN statement. Read more

default fn is_null(self) -> IsNull<Self>[src]

Creates a SQL IS NULL expression. Read more

default fn is_not_null(self) -> IsNotNull<Self>[src]

Creates a SQL IS NOT NULL expression. Read more

default fn gt<T>(
    self,
    other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL > expression. Read more

default fn ge<T>(
    self,
    other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL >= expression. Read more

default fn lt<T>(
    self,
    other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL < expression. Read more

default fn le<T>(
    self,
    other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Creates a SQL <= expression. Read more

default fn between<T, U>(
    self,
    lower: T,
    upper: U
) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
    T: AsExpression<Self::SqlType>,
    U: AsExpression<Self::SqlType>, 
[src]

Creates a SQL BETWEEN expression using the given lower and upper bounds. Read more

default fn not_between<T, U>(
    self,
    lower: T,
    upper: U
) -> NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
    T: AsExpression<Self::SqlType>,
    U: AsExpression<Self::SqlType>, 
[src]

Creates a SQL NOT BETWEEN expression using the given lower and upper bounds. Read more

default fn desc(self) -> Desc<Self>[src]

Creates a SQL DESC expression, representing this expression in descending order. Read more

default fn asc(self) -> Asc<Self>[src]

Creates a SQL ASC expression, representing this expression in ascending order. Read more

impl<T> NullableExpressionMethods for T where
    T: Expression
[src]

default fn nullable(self) -> Nullable<Self>[src]

Converts this potentially non-null expression into one which is treated as nullable. This method has no impact on the generated SQL, and is only used to allow certain comparisons that would otherwise fail to compile. Read more

impl<T> TextExpressionMethods for T where
    T: Expression,
    <T as Expression>::SqlType: TextOrNullableText, 
[src]

default fn concat<T>(
    self,
    other: T
) -> Concat<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Concatenates two strings using the || operator. Read more

default fn like<T>(
    self,
    other: T
) -> Like<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Returns a SQL LIKE expression Read more

default fn not_like<T>(
    self,
    other: T
) -> NotLike<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

Returns a SQL NOT LIKE expression Read more

impl<Conn, DB, T> ExecuteDsl for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> Erased for T