[−]Struct webdev_lib::tests::questions::schema::questions::columns::category_id
Trait Implementations
impl Copy for category_id
impl Default for category_id
fn default() -> category_id
impl Clone for category_id
fn clone(&self) -> category_id
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for category_id
impl Expression for category_id
impl SelectableExpression<table> for category_id
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for category_id where
category_id: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
category_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 category_id where
category_id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
category_id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for category_id where
category_id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
category_id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for category_id where
category_id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
category_id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl<T> EqAll<T> for category_id where
T: AsExpression<Unsigned<Bigint>>,
Eq<category_id, T>: Expression<SqlType = Bool>,
T: AsExpression<Unsigned<Bigint>>,
Eq<category_id, T>: Expression<SqlType = Bool>,
impl Column for category_id
impl<QS> AppearsOnTable<QS> for category_id where
QS: AppearsInFromClause<table, Count = Once>,
QS: AppearsInFromClause<table, Count = Once>,
impl<DB> QueryFragment<DB> for category_id 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 category_id
type QueryId = category_id
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 category_id
Auto Trait Implementations
impl Unpin for category_id
impl Sync for category_id
impl Send for category_id
impl UnwindSafe for category_id
impl RefUnwindSafe for category_id
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<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>,