pub struct table;Expand description
The actual table struct
This is the type which provides the base methods of the query
builder, such as .select and .filter.
Implementations§
Trait Implementations§
Source§impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
Source§impl<TSM> AppearsInFromClause<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl<TSM> AppearsInFromClause<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl AppearsOnTable<table> for star
Source§impl AsQuery for table
impl AsQuery for table
impl Copy for table
Source§impl<T> Insertable<T> for tablewhere
<table as AsQuery>::Query: Insertable<T>,
impl<T> Insertable<T> for tablewhere
<table as AsQuery>::Query: Insertable<T>,
Source§impl<'a, T> Insertable<T> for &'a tablewhere
table: Insertable<T>,
impl<'a, T> Insertable<T> for &'a tablewhere
table: Insertable<T>,
Source§impl IntoUpdateTarget for table
impl IntoUpdateTarget for table
Source§type WhereClause = <<table as AsQuery>::Query as IntoUpdateTarget>::WhereClause
type WhereClause = <<table as AsQuery>::Query as IntoUpdateTarget>::WhereClause
WHERE clause of this target?Source§fn into_update_target(self) -> UpdateTarget<Self::Table, Self::WhereClause>
fn into_update_target(self) -> UpdateTarget<Self::Table, Self::WhereClause>
self into the table and where clause.impl<S> JoinTo<Alias<S>> for tablewhere
Alias<S>: JoinTo<table>,
impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for tablewhere
Join<Left, Right, Kind>: JoinTo<table>,
Left: QuerySource,
Right: QuerySource,
impl<S> JoinTo<Only<S>> for tablewhere
Only<S>: JoinTo<table>,
impl<S, TSM> JoinTo<Tablesample<S, TSM>> for tablewhere
Tablesample<S, TSM>: JoinTo<table>,
TSM: TablesampleMethod,
Source§impl<DB> QueryFragment<DB> for tablewhere
DB: Backend,
<table as StaticQueryFragment>::Component: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for tablewhere
DB: Backend,
<table as StaticQueryFragment>::Component: QueryFragment<DB>,
Source§impl QueryId for table
impl QueryId for table
Source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Self be uniquely identified by its type? Read moreSource§impl QuerySource for table
impl QuerySource for table
Source§type FromClause = StaticQueryFragmentInstance<table>
type FromClause = StaticQueryFragmentInstance<table>
from_clauseSource§type DefaultSelection = <table as Table>::AllColumns
type DefaultSelection = <table as Table>::AllColumns
default_selectionSource§fn from_clause(&self) -> Self::FromClause
fn from_clause(&self) -> Self::FromClause
FROM clause of this type. This is typically only called in
QueryFragment implementations.Source§fn default_selection(&self) -> Self::DefaultSelection
fn default_selection(&self) -> Self::DefaultSelection
starimpl SelectableExpression<table> for star
impl SelectableExpression<table> for id
impl SelectableExpression<table> for uuid
impl SelectableExpression<table> for kind
impl SelectableExpression<table> for status
impl SelectableExpression<table> for progress_current
impl SelectableExpression<table> for progress_total
impl SelectableExpression<table> for message
impl SelectableExpression<table> for actor
impl SelectableExpression<table> for params
impl SelectableExpression<table> for result
impl SelectableExpression<table> for created_at
impl SelectableExpression<table> for updated_at
Source§impl Table for table
impl Table for table
Source§type PrimaryKey = id
type PrimaryKey = id
primary_keySource§type AllColumns = (id, uuid, kind, status, progress_current, progress_total, message, actor, params, result, created_at, updated_at)
type AllColumns = (id, uuid, kind, status, progress_current, progress_total, message, actor, params, result, created_at, updated_at)
all_columnsSource§fn primary_key(&self) -> Self::PrimaryKey
fn primary_key(&self) -> Self::PrimaryKey
Source§fn all_columns() -> Self::AllColumns
fn all_columns() -> Self::AllColumns
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl TableNotEqual<Only<table>> for table
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl<TSM> TableNotEqual<Tablesample<table, TSM>> for tablewhere
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for Only<table>
impl<TSM> TableNotEqual<table> for Tablesample<table, TSM>where
TSM: TablesampleMethod,
Auto Trait Implementations§
impl Freeze for table
impl RefUnwindSafe for table
impl Send for table
impl Sync for table
impl Unpin for table
impl UnsafeUnpin for table
impl UnwindSafe for table
Blanket Implementations§
§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read more§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read more§fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
§impl<T1, T2> AppearsInFromClause<T2> for T1where
T1: TableNotEqual<T2> + Table,
T2: Table,
impl<T1, T2> AppearsInFromClause<T2> for T1where
T1: TableNotEqual<T2> + Table,
T2: Table,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<'a, T, DB> BoxedDsl<'a, DB> for Twhere
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
SelectStatement<FromClause<T>>: BoxedDsl<'a, DB>,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
impl<'a, T, DB> BoxedDsl<'a, DB> for Twhere
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
SelectStatement<FromClause<T>>: BoxedDsl<'a, DB>,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
§type Output = <SelectStatement<FromClause<T>> as BoxedDsl<'a, DB>>::Output
type Output = <SelectStatement<FromClause<T>> as BoxedDsl<'a, DB>>::Output
internal_into_boxed§fn internal_into_boxed(self) -> <T as BoxedDsl<'a, DB>>::Output
fn internal_into_boxed(self) -> <T as BoxedDsl<'a, DB>>::Output
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CombineDsl for Twhere
T: Table,
impl<T> CombineDsl for Twhere
T: Table,
§fn union<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn union<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
UNION Read more§fn union_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn union_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
UNION ALL§fn intersect<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn intersect<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
INTERSECT§fn intersect_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn intersect_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
INTERSECT ALL§fn except<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn except<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
EXCEPT§fn except_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
fn except_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>where
Rhs: AsQuery<SqlType = <<T as CombineDsl>::Query as Query>::SqlType>,
EXCEPT ALL§impl<T> CopyTarget for Twhere
T: Table + StaticQueryFragment,
<T as AsQuery>::SqlType: SqlType,
<T as Table>::AllColumns: ColumnList,
<T as StaticQueryFragment>::Component: QueryFragment<Pg>,
impl<T> CopyTarget for Twhere
T: Table + StaticQueryFragment,
<T as AsQuery>::SqlType: SqlType,
<T as Table>::AllColumns: ColumnList,
<T as StaticQueryFragment>::Component: QueryFragment<Pg>,
§impl<T> DistinctDsl for Twhere
T: AsQuery<Query = SelectStatement<FromClause<T>>> + Table,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
impl<T> DistinctDsl for Twhere
T: AsQuery<Query = SelectStatement<FromClause<T>>> + Table,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
§impl<T, Selection> DistinctOnDsl<Selection> for Twhere
Selection: SelectableExpression<T>,
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
SelectStatement<FromClause<T>>: DistinctOnDsl<Selection>,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
impl<T, Selection> DistinctOnDsl<Selection> for Twhere
Selection: SelectableExpression<T>,
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
SelectStatement<FromClause<T>>: DistinctOnDsl<Selection>,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
§type Output = <SelectStatement<FromClause<T>> as DistinctOnDsl<Selection>>::Output
type Output = <SelectStatement<FromClause<T>> as DistinctOnDsl<Selection>>::Output
.distinct_on§fn distinct_on(
self,
selection: Selection,
) -> <T as DistinctOnDsl<Selection>>::Output
fn distinct_on( self, selection: Selection, ) -> <T as DistinctOnDsl<Selection>>::Output
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
self into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T> JoinOnDsl for Twhere
T: QuerySource,
impl<T> JoinOnDsl for Twhere
T: QuerySource,
§impl<Lhs, Rhs, On> JoinTo<OnClauseWrapper<Rhs, On>> for Lhswhere
Lhs: Table,
impl<Lhs, Rhs, On> JoinTo<OnClauseWrapper<Rhs, On>> for Lhswhere
Lhs: Table,
type FromClause = Rhs
type OnClause = On
fn join_target( rhs: OnClauseWrapper<Rhs, On>, ) -> (<Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::FromClause, <Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::OnClause)
§impl<T> LimitDsl for Twhere
T: Table,
<T as AsQuery>::Query: LimitDsl,
impl<T> LimitDsl for Twhere
T: Table,
<T as AsQuery>::Query: LimitDsl,
§impl<T, Lock> LockingDsl<Lock> for Twhere
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
impl<T, Lock> LockingDsl<Lock> for Twhere
T: Table<Query = SelectStatement<FromClause<T>>> + AsQuery,
<T as QuerySource>::DefaultSelection: Expression<SqlType = <T as AsQuery>::SqlType> + ValidGrouping<()>,
<T as AsQuery>::SqlType: TypedExpressionType,
§type Output = <SelectStatement<FromClause<T>> as LockingDsl<Lock>>::Output
type Output = <SelectStatement<FromClause<T>> as LockingDsl<Lock>>::Output
set_lock. See dsl::ForUpdate and friends for
convenient access to this type.§impl<T> OffsetDsl for Twhere
T: Table,
<T as AsQuery>::Query: OffsetDsl,
impl<T> OffsetDsl for Twhere
T: Table,
<T as AsQuery>::Query: OffsetDsl,
§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling [Attribute] value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi [Quirk] value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the [Condition] value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> QueryDsl for Twhere
T: Table,
impl<T> QueryDsl for Twhere
T: Table,
§fn distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT keyword to a query. Read more§fn distinct_on<Expr>(self, expr: Expr) -> Self::Outputwhere
Self: DistinctOnDsl<Expr>,
fn distinct_on<Expr>(self, expr: Expr) -> Self::Outputwhere
Self: DistinctOnDsl<Expr>,
DISTINCT ON clause to a query. Read more§fn select<Selection>(self, selection: Selection) -> Self::Outputwhere
Selection: Expression,
Self: SelectDsl<Selection>,
fn select<Selection>(self, selection: Selection) -> Self::Outputwhere
Selection: Expression,
Self: SelectDsl<Selection>,
SELECT clause to the query. Read more§fn count(self) -> Self::Outputwhere
Self: SelectDsl<CountStar>,
fn count(self) -> Self::Outputwhere
Self: SelectDsl<CountStar>,
.select(count_star()) Read more§fn inner_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, Inner>,
fn inner_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, Inner>,
INNER JOIN. Read more§fn left_outer_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
fn left_outer_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
LEFT OUTER JOIN. Read more§fn left_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
fn left_join<Rhs>(self, rhs: Rhs) -> Self::Outputwhere
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
left_outer_join.§fn filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: FilterDsl<Predicate>,
fn filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: FilterDsl<Predicate>,
WHERE clause of a query. Read more§fn or_filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: OrFilterDsl<Predicate>,
fn or_filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: OrFilterDsl<Predicate>,
§fn find<PK>(self, id: PK) -> Self::Outputwhere
Self: FindDsl<PK>,
fn find<PK>(self, id: PK) -> Self::Outputwhere
Self: FindDsl<PK>,
§fn order<Expr>(self, expr: Expr) -> Self::Outputwhere
Expr: Expression,
Self: OrderDsl<Expr>,
fn order<Expr>(self, expr: Expr) -> Self::Outputwhere
Expr: Expression,
Self: OrderDsl<Expr>,
§fn order_by<Expr>(self, expr: Expr) -> Self::Outputwhere
Expr: Expression,
Self: OrderDsl<Expr>,
fn order_by<Expr>(self, expr: Expr) -> Self::Outputwhere
Expr: Expression,
Self: OrderDsl<Expr>,
order§fn then_order_by<Order>(self, order: Order) -> Self::Outputwhere
Self: ThenOrderDsl<Order>,
fn then_order_by<Order>(self, order: Order) -> Self::Outputwhere
Self: ThenOrderDsl<Order>,
ORDER BY clause of this SQL query. Read more§fn limit(self, limit: i64) -> Self::Outputwhere
Self: LimitDsl,
fn limit(self, limit: i64) -> Self::Outputwhere
Self: LimitDsl,
§fn offset(self, offset: i64) -> Self::Outputwhere
Self: OffsetDsl,
fn offset(self, offset: i64) -> Self::Outputwhere
Self: OffsetDsl,
§fn group_by<GB>(self, group_by: GB) -> Self::Outputwhere
GB: Expression,
Self: GroupByDsl<GB>,
fn group_by<GB>(self, group_by: GB) -> Self::Outputwhere
GB: Expression,
Self: GroupByDsl<GB>,
group by clause of a query. Read more§fn having<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: HavingDsl<Predicate>,
fn having<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: HavingDsl<Predicate>,
HAVING clause of a query. Read more§fn for_update(self) -> Self::Outputwhere
Self: LockingDsl<ForUpdate>,
fn for_update(self) -> Self::Outputwhere
Self: LockingDsl<ForUpdate>,
FOR UPDATE to the end of the select statement. Read more§fn for_no_key_update(self) -> Self::Outputwhere
Self: LockingDsl<ForNoKeyUpdate>,
fn for_no_key_update(self) -> Self::Outputwhere
Self: LockingDsl<ForNoKeyUpdate>,
FOR NO KEY UPDATE to the end of the select statement. Read moreFOR SHARE to the end of the select statement. Read moreFOR KEY SHARE to the end of the select statement. Read more