Struct sn0int::schema::images::table[][src]

pub struct table;

The actual table struct

This is the type which provides the base methods of the query builder, such as .select and .filter.

Implementations

impl table[src]

pub fn star(&self) -> star[src]

Represents table_name.*, which is sometimes necessary for efficient count queries. It cannot be used in place of all_columns

Trait Implementations

impl AppearsInFromClause<table> for table[src]

type Count = Once

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsInFromClause<table> for table[src]

type Count = Never

How many times does Self appear in QS?

impl AppearsOnTable<table> for star[src]

impl AsQuery for table[src]

type SqlType = SqlType

The SQL type of Self::Query

type Query = SelectStatement<Self>

What kind of query does this type represent?

impl Clone for table[src]

impl Copy for table[src]

impl Debug for table[src]

impl HasTable for table[src]

type Table = Self

The table this type is associated with.

impl<T> Insertable<T> for table where
    <table as AsQuery>::Query: Insertable<T>, 
[src]

type Values = <<table as AsQuery>::Query as Insertable<T>>::Values

The VALUES clause to insert these records Read more

impl<'a, T> Insertable<T> for &'a table where
    table: Insertable<T>, 
[src]

type Values = <table as Insertable<T>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for NewImage[src]

type Values = <(Option<Eq<value, String>>, Option<Eq<filename, String>>, Option<Eq<mime, String>>, Option<Eq<width, i32>>, Option<Eq<height, i32>>, Option<Eq<created, NaiveDateTime>>, Option<Eq<latitude, f32>>, Option<Eq<longitude, f32>>, Option<Eq<nudity, f32>>, Option<Eq<ahash, String>>, Option<Eq<dhash, String>>, Option<Eq<phash, String>>, Option<Eq<unscoped, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert NewImage[src]

type Values = <(Option<Eq<value, &'insert String>>, Option<Eq<filename, &'insert String>>, Option<Eq<mime, &'insert String>>, Option<Eq<width, &'insert i32>>, Option<Eq<height, &'insert i32>>, Option<Eq<created, &'insert NaiveDateTime>>, Option<Eq<latitude, &'insert f32>>, Option<Eq<longitude, &'insert f32>>, Option<Eq<nudity, &'insert f32>>, Option<Eq<ahash, &'insert String>>, Option<Eq<dhash, &'insert String>>, Option<Eq<phash, &'insert String>>, Option<Eq<unscoped, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl IntoUpdateTarget for table[src]

type WhereClause = <Self::Query as IntoUpdateTarget>::WhereClause

What is the WHERE clause of this target?

impl<'a, QS, ST, DB> JoinTo<BoxedSelectStatement<'a, QS, ST, DB>> for table where
    BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>, 
[src]

type FromClause = BoxedSelectStatement<'a, QS, ST, DB>

type OnClause = <BoxedSelectStatement<'a, QS, ST, DB> as JoinTo<table>>::OnClause

impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for table where
    Join<Left, Right, Kind>: JoinTo<table>, 
[src]

type FromClause = Join<Left, Right, Kind>

type OnClause = <Join<Left, Right, Kind> as JoinTo<table>>::OnClause

impl<Join, On> JoinTo<JoinOn<Join, On>> for table where
    JoinOn<Join, On>: JoinTo<table>, 
[src]

type FromClause = JoinOn<Join, On>

type OnClause = <JoinOn<Join, On> as JoinTo<table>>::OnClause

impl<F, S, D, W, O, L, Of, G> JoinTo<SelectStatement<F, S, D, W, O, L, Of, G, NoLockingClause>> for table where
    SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>, 
[src]

type FromClause = SelectStatement<F, S, D, W, O, L, Of, G>

type OnClause = <SelectStatement<F, S, D, W, O, L, Of, G> as JoinTo<table>>::OnClause

impl QueryId for table[src]

type QueryId = table

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

impl QuerySource for table[src]

type FromClause = Identifier<'static>

The type returned by from_clause

type DefaultSelection = Self::AllColumns

The type returned by default_selection

impl SelectableExpression<table> for star[src]

impl SelectableExpression<table> for id[src]

impl SelectableExpression<table> for nudity[src]

impl SelectableExpression<table> for ahash[src]

impl SelectableExpression<table> for dhash[src]

impl SelectableExpression<table> for phash[src]

impl SelectableExpression<table> for unscoped[src]

impl SelectableExpression<table> for value[src]

impl SelectableExpression<table> for filename[src]

impl SelectableExpression<table> for mime[src]

impl SelectableExpression<table> for width[src]

impl SelectableExpression<table> for height[src]

impl SelectableExpression<table> for created[src]

impl SelectableExpression<table> for latitude[src]

impl SelectableExpression<table> for longitude[src]

impl Table for table[src]

type PrimaryKey = id

The type returned by primary_key

type AllColumns = (id, value, filename, mime, width, height, created, latitude, longitude, nudity, ahash, dhash, phash, unscoped)

The type returned by all_columns

impl<'insert> UndecoratedInsertRecord<table> for NewImage[src]

Auto Trait Implementations

impl RefUnwindSafe for table

impl Send for table

impl Sync for table

impl Unpin for table

impl UnwindSafe for table

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> ForUpdateDsl for T where
    T: LockingDsl<ForUpdate>, 
[src]

type Output = <T as LockingDsl<ForUpdate>>::Output

👎 Deprecated since 1.3.0:

use LockingDsl<ForUpdate> instead

The type returned by for_update. See dsl::ForUpdate for convenient access to this type. Read more

impl<T> From<T> for T[src]

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

impl<T> IntoSql for T[src]

impl<T> JoinOnDsl for T where
    T: QuerySource
[src]

impl<Lhs, Rhs, On> JoinTo<OnClauseWrapper<Rhs, On>> for Lhs where
    Lhs: Table
[src]

type FromClause = Rhs

type OnClause = On

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> QueryDsl for T where
    T: Table
[src]

impl<T, Conn> RunQueryDsl<Conn> for T where
    T: Table
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,