[−]Struct edit_server::db::schema::posts::columns::id
Trait Implementations
impl Default for id
impl Default for id
impl Clone for id
impl Clone for id
fn clone(&self) -> id
fn clone(&self) -> id
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 id
impl Copy for id
impl Debug for id
impl Debug for id
impl Expression for id
impl Expression for id
type SqlType = Text
The type that this expression represents in SQL
impl<QS> AppearsOnTable<QS> for id where
QS: AppearsInFromClause<table, Count = Once>,
impl<QS> AppearsOnTable<QS> for id where
QS: AppearsInFromClause<table, Count = Once>,
impl Column for id
impl Column for id
impl SelectableExpression<table> for id
impl SelectableExpression<table> for id
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for id where
id: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for id where
id: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for id where
id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for id where
id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for id where
id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for id where
id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for id where
id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for id where
id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl<T> EqAll<T> for id where
T: AsExpression<Text>,
Eq<id, T>: Expression<SqlType = Bool>,
impl<T> EqAll<T> for id where
T: AsExpression<Text>,
Eq<id, T>: Expression<SqlType = Bool>,
impl<DB> QueryFragment<DB> for id where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for id where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
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>
fn collect_binds(
&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>
fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>
Is this query safe to store in the prepared statement cache? Read more
impl QueryId for id
impl QueryId for id
type QueryId = id
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
fn query_id() -> Option<TypeId>
fn query_id() -> Option<TypeId>
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl NonAggregate for id
impl NonAggregate for id
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> IntoSql for T
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
fn into_sql<T>(self) -> Self::Expression where
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>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'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,
impl<T> ExpressionMethods for T where
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>,
fn eq<T>(
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>,
fn ne<T>(
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>,
fn eq_any<T>(
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>,
fn ne_any<T>(
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>,
fn ne_all<T>(
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>
fn is_null(self) -> IsNull<Self>
Creates a SQL IS NULL
expression. Read more
fn is_not_null(self) -> IsNotNull<Self>
fn is_not_null(self) -> IsNotNull<Self>
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>,
fn gt<T>(
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>,
fn ge<T>(
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>,
fn lt<T>(
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>,
fn le<T>(
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>,
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>,
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>,
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>,
Creates a SQL NOT BETWEEN
expression using the given lower and upper bounds. Read more
fn desc(self) -> Desc<Self>
fn desc(self) -> Desc<Self>
Creates a SQL DESC
expression, representing this expression in descending order. Read more
fn asc(self) -> Asc<Self>
fn asc(self) -> Asc<Self>
Creates a SQL ASC
expression, representing this expression in ascending order. Read more
impl<T> TextExpressionMethods for T where
T: Expression,
<T as Expression>::SqlType: TextOrNullableText,
impl<T> TextExpressionMethods for T where
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>,
fn concat<T>(
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>,
fn like<T>(
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>,
fn not_like<T>(
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 for T where
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
impl<QS, T, DB> BoxableExpression for T where
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
impl<T> NullableExpressionMethods for T where
T: Expression,
impl<T> NullableExpressionMethods for T where
T: Expression,
fn nullable(self) -> Nullable<Self>
fn nullable(self) -> Nullable<Self>
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> Erased for T
impl<T> Erased for T