Struct leetcode_cli::cache::schemas::problems::columns::id[][src]

pub struct id;

Trait Implementations

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

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

The resulting type after applying the + operator.

fn add(self, rhs: Rhs) -> Self::Output[src]

Performs the + operation. Read more

impl Clone for id[src]

fn clone(&self) -> id[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 id[src]

type Table = table

The table which this column belongs to

const NAME: &'static str[src]

The name of this column

impl Debug for id[src]

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

Formats the value using the given formatter. Read more

impl Default for id[src]

fn default() -> id[src]

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

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

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

The resulting type after applying the / operator.

fn div(self, rhs: Rhs) -> Self::Output[src]

Performs the / operation. Read more

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

type Output = Eq<Self, T>

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

impl Expression for id[src]

type SqlType = Integer

The type that this expression represents in SQL

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

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

The resulting type after applying the * operator.

fn mul(self, rhs: Rhs) -> Self::Output[src]

Performs the * operation. Read more

impl<DB> QueryFragment<DB> for id 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 id[src]

type QueryId = id

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<Rhs> Sub<Rhs> for id where
    Rhs: AsExpression<<<id as Expression>::SqlType as Sub>::Rhs>, 
[src]

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

The resulting type after applying the - operator.

fn sub(self, rhs: Rhs) -> Self::Output[src]

Performs the - operation. Read more

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

impl Copy for id[src]

impl NonAggregate for id[src]

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

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

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

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

impl SelectableExpression<table> for id[src]

Auto Trait Implementations

impl RefUnwindSafe for id

impl Send for id

impl Sync for id

impl Unpin for id

impl UnwindSafe for id

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

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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> Same<T> for T

type Output = T

Should always be Self

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

pub fn vzip(self) -> V

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