[]Struct sn0int::schema::network_devices::columns::id

pub struct id;

Trait Implementations

impl Copy for id

impl Default for id

impl Clone for id

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

Performs copy-assignment from source. Read more

impl Debug for id

impl<Rhs> Add<Rhs> for id where
    Rhs: AsExpression<<<id as Expression>::SqlType as Add>::Rhs>, 

type Output = Add<Self, Rhs::Expression>

The resulting type after applying the + operator.

impl<Rhs> Sub<Rhs> for id where
    Rhs: AsExpression<<<id as Expression>::SqlType as Sub>::Rhs>, 

type Output = Sub<Self, Rhs::Expression>

The resulting type after applying the - operator.

impl<Rhs> Mul<Rhs> for id where
    Rhs: AsExpression<<<id as Expression>::SqlType as Mul>::Rhs>, 

type Output = Mul<Self, Rhs::Expression>

The resulting type after applying the * operator.

impl<Rhs> Div<Rhs> for id where
    Rhs: AsExpression<<<id as Expression>::SqlType as Div>::Rhs>, 

type Output = Div<Self, Rhs::Expression>

The resulting type after applying the / operator.

impl Expression for id

type SqlType = Integer

The type that this expression represents in SQL

impl<QS> AppearsOnTable<QS> for id where
    QS: AppearsInFromClause<table, Count = Once>, 

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, 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<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for id where
    id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>, 

impl Column for id

type Table = table

The table which this column belongs to

impl<T> EqAll<T> for id where
    T: AsExpression<Integer>,
    Eq<id, T>: Expression<SqlType = Bool>, 

type Output = Eq<Self, T>

impl QueryId for id

type QueryId = id

A type which uniquely represents Self in a SQL query. 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<DB> QueryFragment<DB> for id where
    DB: Backend,
    <table as QuerySource>::FromClause: QueryFragment<DB>, 

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 NonAggregate for id

Auto Trait Implementations

impl Send for id

impl Sync for id

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

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

The type returned in the event of a conversion error.

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

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

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

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

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

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

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> 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> ExpressionMethods for T where
    T: Expression,
    <T as Expression>::SqlType: SingleValue
[src]

fn eq<T>(
    self,
    other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
    T: AsExpression<Self::SqlType>, 
[src]

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]

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]

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]

Deprecated since 1.2.0:

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]

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]

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]

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]

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]

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]

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]

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 for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> Erased for T