Struct diesel::sql_types::BigInt [−][src]
pub struct BigInt;
Trait Implementations
impl Foldable for BigInt
[src]
impl Foldable for BigInt
type Sum = Nullable<Numeric>
The SQL type of sum(this_type)
type Avg = Nullable<Numeric>
The SQL type of avg(this_type)
impl Add for BigInt
[src]
impl Add for BigInt
type Rhs = BigInt
The SQL type which can be added to this one
type Output = BigInt
The SQL type of the result of adding Rhs
to Self
impl Sub for BigInt
[src]
impl Sub for BigInt
type Rhs = BigInt
The SQL type which can be subtracted from this one
type Output = BigInt
The SQL type of the result of subtracting Rhs
from Self
impl Mul for BigInt
[src]
impl Mul for BigInt
type Rhs = BigInt
The SQL type which this can be multiplied by
type Output = BigInt
The SQL type of the result of multiplying Self
by Rhs
impl Div for BigInt
[src]
impl Div for BigInt
type Rhs = BigInt
The SQL type which this one can be divided by
type Output = BigInt
The SQL type of the result of dividing Self
by Rhs
impl SqlOrd for BigInt
[src]
impl SqlOrd for BigInt
impl QueryId for BigInt
[src]
impl QueryId for BigInt
type QueryId = BigInt
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>
[src]
fn query_id() -> Option<TypeId>
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl NotNull for BigInt
[src]
impl NotNull for BigInt
impl SingleValue for BigInt
[src]
impl SingleValue for BigInt
impl HasSqlType<BigInt> for Sqlite
[src]
impl HasSqlType<BigInt> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<BigInt> for Mysql
[src]
impl HasSqlType<BigInt> for Mysql
impl HasSqlType<BigInt> for Pg
[src]
impl HasSqlType<BigInt> for Pg
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
[src]
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
Fetch the metadata for the given type Read more
impl Debug for BigInt
[src]
impl Debug for BigInt
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BigInt
[src]
impl Clone for BigInt
fn clone(&self) -> BigInt
[src]
fn clone(&self) -> BigInt
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for BigInt
[src]
impl Copy for BigInt
impl Default for BigInt
[src]
impl Default for BigInt
impl FromSql<BigInt, Sqlite> for i64
[src]
impl FromSql<BigInt, Sqlite> for i64
impl<DB: Backend<RawValue = [u8]>> FromSql<BigInt, DB> for i64
[src]
impl<DB: Backend<RawValue = [u8]>> FromSql<BigInt, DB> for i64
impl<DB: Backend> ToSql<BigInt, DB> for i64
[src]
impl<DB: Backend> ToSql<BigInt, DB> for i64
impl<'expr> AsExpression<BigInt> for &'expr i64
[src]
impl<'expr> AsExpression<BigInt> for &'expr i64
type Expression = Bound<BigInt, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr2, 'expr> AsExpression<BigInt> for &'expr2 &'expr i64
[src]
impl<'expr2, 'expr> AsExpression<BigInt> for &'expr2 &'expr i64
type Expression = Bound<BigInt, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl AsExpression<BigInt> for i64
[src]
impl AsExpression<BigInt> for i64
type Expression = Bound<BigInt, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion