Struct nNye_user_persistence::schema::prioritized_content::columns::date_posted[][src]

pub struct date_posted;

Trait Implementations

impl Clone for date_posted[src]

fn clone(&self) -> date_posted[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Column for date_posted[src]

type Table = table

The table which this column belongs to

const NAME: &'static str[src]

The name of this column

impl Debug for date_posted[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for date_posted[src]

fn default() -> date_posted[src]

Returns the “default value” for a type. Read more

impl<T> EqAll<T> for date_posted where
    T: AsExpression<Nullable<Text>>,
    Eq<date_posted, T>: Expression<SqlType = Bool>, 
[src]

type Output = Eq<Self, T>

fn eq_all(self, rhs: T) -> Self::Output[src]

impl Expression for date_posted[src]

type SqlType = Nullable<Text>

The type that this expression represents in SQL

impl<DB> QueryFragment<DB> for date_posted where
    DB: Backend,
    <table as QuerySource>::FromClause: QueryFragment<DB>, 
[src]

fn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>[src]

Walk over this QueryFragment for all passes. Read more

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]

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 date_posted[src]

type QueryId = date_posted

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

const HAS_STATIC_QUERY_ID: bool[src]

Can the SQL generated by Self be uniquely identified by its type? Read more

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<QS> AppearsOnTable<QS> for date_posted where
    QS: AppearsInFromClause<table, Count = Once>, 
[src]

impl Copy for date_posted[src]

impl NonAggregate for date_posted[src]

impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for date_posted where
    date_posted: AppearsOnTable<Join<Left, Right, Inner>>,
    Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>, 
[src]

impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for date_posted where
    date_posted: AppearsOnTable<Join<Left, Right, LeftOuter>>,
    Left: AppearsInFromClause<table, Count = Once>,
    Right: AppearsInFromClause<table, Count = Never>, 
[src]

impl<Join, On> SelectableExpression<JoinOn<Join, On>> for date_posted where
    date_posted: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>, 
[src]

impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for date_posted where
    date_posted: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>, 
[src]

impl SelectableExpression<table> for date_posted[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
    DB: Backend,
    T: QueryFragment<DB> + QueryId,
    Conn: Connection<Backend = DB>, 
[src]

pub fn execute(query: T, conn: &Conn) -> Result<usize, Error>[src]

Execute this command

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> IntoSql for T[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

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]

Convert &self to an expression for Diesel’s query builder. Read more

impl<T> NullableExpressionMethods for T where
    T: Expression
[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<QS, T, DB> BoxableExpression<QS, DB> for T where
    DB: Backend,
    T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>, 
[src]