[−]Struct webdev_lib::chemicals::schema::chemical_inventory::columns::amount
Trait Implementations
impl Copy for amount
impl Default for amount
impl Clone for amount
fn clone(&self) -> amount
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for amount
impl Expression for amount
type SqlType = Varchar
The type that this expression represents in SQL
impl SelectableExpression<table> for amount
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for amount where
amount: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
amount: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for amount where
amount: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
amount: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for amount where
amount: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
amount: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for amount where
amount: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
amount: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl<T> EqAll<T> for amount where
T: AsExpression<Varchar>,
Eq<amount, T>: Expression<SqlType = Bool>,
T: AsExpression<Varchar>,
Eq<amount, T>: Expression<SqlType = Bool>,
impl Column for amount
impl<QS> AppearsOnTable<QS> for amount where
QS: AppearsInFromClause<table, Count = Once>,
QS: AppearsInFromClause<table, Count = Once>,
impl<DB> QueryFragment<DB> for amount where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
[src]
Converts this QueryFragment
to its SQL representation. Read more
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
[src]
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
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 amount
type QueryId = amount
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
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 amount
Auto Trait Implementations
impl Unpin for amount
impl Sync for amount
impl Send for amount
impl UnwindSafe for amount
impl RefUnwindSafe for amount
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> TextExpressionMethods for T where
T: Expression,
<T as Expression>::SqlType: TextOrNullableText,
[src]
T: Expression,
<T as Expression>::SqlType: TextOrNullableText,
fn concat<T>(
self,
other: T
) -> Concat<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> Concat<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Concatenates two strings using the ||
operator. Read more
fn like<T>(
self,
other: T
) -> Like<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> Like<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Returns a SQL LIKE
expression Read more
fn not_like<T>(
self,
other: T
) -> NotLike<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> NotLike<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Returns a SQL NOT LIKE
expression Read more
impl<QS, T, DB> BoxableExpression<QS, DB> for T where
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
[src]
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
impl<T> NullableExpressionMethods for T where
T: Expression,
[src]
T: Expression,
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> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
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]
T: Expression,
<T as Expression>::SqlType: SingleValue,
fn eq<T>(
self,
other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL =
expression. Read more
fn ne<T>(
self,
other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL !=
expression. Read more
fn eq_any<T>(
self,
values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
self,
values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
Creates a SQL IN
statement. Read more
fn ne_any<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
use ne_all
instead
Deprecated alias for ne_all
Read more
fn ne_all<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
Creates a SQL NOT IN
statement. Read more
fn is_null(self) -> IsNull<Self>
[src]
Creates a SQL IS NULL
expression. Read more
fn is_not_null(self) -> IsNotNull<Self>
[src]
Creates a SQL IS NOT NULL
expression. Read more
fn gt<T>(
self,
other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL >
expression. Read more
fn ge<T>(
self,
other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL >=
expression. Read more
fn lt<T>(
self,
other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL <
expression. Read more
fn le<T>(
self,
other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
self,
other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL <=
expression. Read more
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]
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>,
Creates a SQL BETWEEN
expression using the given lower and upper bounds. Read more
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]
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>,
Creates a SQL NOT BETWEEN
expression using the given lower and upper bounds. Read more
fn desc(self) -> Desc<Self>
[src]
Creates a SQL DESC
expression, representing this expression in descending order. Read more
fn asc(self) -> Asc<Self>
[src]
Creates a SQL ASC
expression, representing this expression in ascending order. Read more
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
[src]
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<T> Typeable for T where
T: Any,
[src]
T: Any,
impl<T> Erased for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,