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<S1, S2> AliasAliasAppearsInFromClause<table, S2, S1> for tablewhere
S1: AliasSource<Target = table> + AliasAliasAppearsInFromClauseSameTable<S2, table>,
S2: AliasSource<Target = table>,
impl<S1, S2> AliasAliasAppearsInFromClause<table, S2, S1> for tablewhere
S1: AliasSource<Target = table> + AliasAliasAppearsInFromClauseSameTable<S2, table>,
S2: AliasSource<Target = table>,
Source§impl<S> AppearsInFromClause<Alias<S>> for tablewhere
S: AliasSource,
impl<S> AppearsInFromClause<Alias<S>> for tablewhere
S: AliasSource,
Source§impl AppearsInFromClause<table> for NoFromClause
impl AppearsInFromClause<table> for NoFromClause
Source§impl AppearsInFromClause<table> for table
impl AppearsInFromClause<table> for table
Source§impl AsQuery for table
impl AsQuery for table
Source§type SqlType = (Integer, Text, Text, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Text, Nullable<Jsonb>, Text, Nullable<BigInt>, Nullable<Text>, Nullable<BigInt>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Bool, Nullable<Bool>, Nullable<Bool>, Nullable<Bool>)
type SqlType = (Integer, Text, Text, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Text, Nullable<Jsonb>, Text, Nullable<BigInt>, Nullable<Text>, Nullable<BigInt>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Jsonb>, Nullable<Jsonb>, Nullable<Jsonb>, Bool, Nullable<Bool>, Nullable<Bool>, Nullable<Bool>)
The SQL type of
Self::QuerySource§impl<'a, T> Insertable<T> for &'a tablewhere
table: Insertable<T>,
impl<'a, T> Insertable<T> for &'a tablewhere
table: Insertable<T>,
Source§type Values = <table as Insertable<T>>::Values
type Values = <table as Insertable<T>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self into a given table. Read moreSource§impl<T> Insertable<T> for table
impl<T> Insertable<T> for table
Source§type Values = <<table as AsQuery>::Query as Insertable<T>>::Values
type Values = <<table as AsQuery>::Query as Insertable<T>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self into a given table. Read moreSource§impl<'a, 'insert> Insertable<table> for &'insert NewPackage<'a>
impl<'a, 'insert> Insertable<table> for &'insert NewPackage<'a>
Source§type Values = <(Option<Grouped<Eq<pkg_id, <&'insert &'a str as AsExpression<<pkg_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_name, <&'insert &'a str as AsExpression<<pkg_name as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_type, <&'insert &'a str as AsExpression<<pkg_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_webpage, <&'insert &'a str as AsExpression<<pkg_webpage as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<app_id, <&'insert &'a str as AsExpression<<app_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<description, <&'insert &'a str as AsExpression<<description as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<version, <&'insert &'a str as AsExpression<<version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<licenses, <&'insert Value as AsExpression<<licenses as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<download_url, <&'insert &'a str as AsExpression<<download_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<size, <&'insert i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_pkg, <&'insert &'a str as AsExpression<<ghcr_pkg as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_size, <&'insert i64 as AsExpression<<ghcr_size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_blob, <&'insert &'a str as AsExpression<<ghcr_blob as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_url, <&'insert &'a str as AsExpression<<ghcr_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<bsum, <&'insert &'a str as AsExpression<<bsum as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<icon, <&'insert &'a str as AsExpression<<icon as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop, <&'insert &'a str as AsExpression<<desktop as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<appstream, <&'insert &'a str as AsExpression<<appstream as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<homepages, <&'insert Value as AsExpression<<homepages as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<notes, <&'insert Value as AsExpression<<notes as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<source_urls, <&'insert Value as AsExpression<<source_urls as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<tags, <&'insert Value as AsExpression<<tags as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<categories, <&'insert Value as AsExpression<<categories as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_id, <&'insert &'a str as AsExpression<<build_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_date, <&'insert &'a str as AsExpression<<build_date as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_action, <&'insert &'a str as AsExpression<<build_action as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_script, <&'insert &'a str as AsExpression<<build_script as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_log, <&'insert &'a str as AsExpression<<build_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<provides, <&'insert Value as AsExpression<<provides as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<snapshots, <&'insert Value as AsExpression<<snapshots as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<replaces, <&'insert Value as AsExpression<<replaces as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<soar_syms, <&'insert bool as AsExpression<<soar_syms as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop_integration, <&'insert bool as AsExpression<<desktop_integration as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<portable, <&'insert bool as AsExpression<<portable as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<recurse_provides, <&'insert bool as AsExpression<<recurse_provides as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<pkg_id, <&'insert &'a str as AsExpression<<pkg_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_name, <&'insert &'a str as AsExpression<<pkg_name as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_type, <&'insert &'a str as AsExpression<<pkg_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_webpage, <&'insert &'a str as AsExpression<<pkg_webpage as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<app_id, <&'insert &'a str as AsExpression<<app_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<description, <&'insert &'a str as AsExpression<<description as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<version, <&'insert &'a str as AsExpression<<version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<licenses, <&'insert Value as AsExpression<<licenses as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<download_url, <&'insert &'a str as AsExpression<<download_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<size, <&'insert i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_pkg, <&'insert &'a str as AsExpression<<ghcr_pkg as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_size, <&'insert i64 as AsExpression<<ghcr_size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_blob, <&'insert &'a str as AsExpression<<ghcr_blob as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_url, <&'insert &'a str as AsExpression<<ghcr_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<bsum, <&'insert &'a str as AsExpression<<bsum as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<icon, <&'insert &'a str as AsExpression<<icon as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop, <&'insert &'a str as AsExpression<<desktop as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<appstream, <&'insert &'a str as AsExpression<<appstream as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<homepages, <&'insert Value as AsExpression<<homepages as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<notes, <&'insert Value as AsExpression<<notes as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<source_urls, <&'insert Value as AsExpression<<source_urls as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<tags, <&'insert Value as AsExpression<<tags as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<categories, <&'insert Value as AsExpression<<categories as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_id, <&'insert &'a str as AsExpression<<build_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_date, <&'insert &'a str as AsExpression<<build_date as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_action, <&'insert &'a str as AsExpression<<build_action as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_script, <&'insert &'a str as AsExpression<<build_script as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_log, <&'insert &'a str as AsExpression<<build_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<provides, <&'insert Value as AsExpression<<provides as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<snapshots, <&'insert Value as AsExpression<<snapshots as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<replaces, <&'insert Value as AsExpression<<replaces as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<soar_syms, <&'insert bool as AsExpression<<soar_syms as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop_integration, <&'insert bool as AsExpression<<desktop_integration as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<portable, <&'insert bool as AsExpression<<portable as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<recurse_provides, <&'insert bool as AsExpression<<recurse_provides as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn values(
self,
) -> <(Option<Eq<pkg_id, &'insert &'a str>>, Option<Eq<pkg_name, &'insert &'a str>>, Option<Eq<pkg_type, &'insert &'a str>>, Option<Eq<pkg_webpage, &'insert &'a str>>, Option<Eq<app_id, &'insert &'a str>>, Option<Eq<description, &'insert &'a str>>, Option<Eq<version, &'insert &'a str>>, Option<Eq<licenses, &'insert Value>>, Option<Eq<download_url, &'insert &'a str>>, Option<Eq<size, &'insert i64>>, Option<Eq<ghcr_pkg, &'insert &'a str>>, Option<Eq<ghcr_size, &'insert i64>>, Option<Eq<ghcr_blob, &'insert &'a str>>, Option<Eq<ghcr_url, &'insert &'a str>>, Option<Eq<bsum, &'insert &'a str>>, Option<Eq<icon, &'insert &'a str>>, Option<Eq<desktop, &'insert &'a str>>, Option<Eq<appstream, &'insert &'a str>>, Option<Eq<homepages, &'insert Value>>, Option<Eq<notes, &'insert Value>>, Option<Eq<source_urls, &'insert Value>>, Option<Eq<tags, &'insert Value>>, Option<Eq<categories, &'insert Value>>, Option<Eq<build_id, &'insert &'a str>>, Option<Eq<build_date, &'insert &'a str>>, Option<Eq<build_action, &'insert &'a str>>, Option<Eq<build_script, &'insert &'a str>>, Option<Eq<build_log, &'insert &'a str>>, Option<Eq<provides, &'insert Value>>, Option<Eq<snapshots, &'insert Value>>, Option<Eq<replaces, &'insert Value>>, Option<Eq<soar_syms, &'insert bool>>, Option<Eq<desktop_integration, &'insert bool>>, Option<Eq<portable, &'insert bool>>, Option<Eq<recurse_provides, &'insert bool>>) as Insertable<table>>::Values
fn values( self, ) -> <(Option<Eq<pkg_id, &'insert &'a str>>, Option<Eq<pkg_name, &'insert &'a str>>, Option<Eq<pkg_type, &'insert &'a str>>, Option<Eq<pkg_webpage, &'insert &'a str>>, Option<Eq<app_id, &'insert &'a str>>, Option<Eq<description, &'insert &'a str>>, Option<Eq<version, &'insert &'a str>>, Option<Eq<licenses, &'insert Value>>, Option<Eq<download_url, &'insert &'a str>>, Option<Eq<size, &'insert i64>>, Option<Eq<ghcr_pkg, &'insert &'a str>>, Option<Eq<ghcr_size, &'insert i64>>, Option<Eq<ghcr_blob, &'insert &'a str>>, Option<Eq<ghcr_url, &'insert &'a str>>, Option<Eq<bsum, &'insert &'a str>>, Option<Eq<icon, &'insert &'a str>>, Option<Eq<desktop, &'insert &'a str>>, Option<Eq<appstream, &'insert &'a str>>, Option<Eq<homepages, &'insert Value>>, Option<Eq<notes, &'insert Value>>, Option<Eq<source_urls, &'insert Value>>, Option<Eq<tags, &'insert Value>>, Option<Eq<categories, &'insert Value>>, Option<Eq<build_id, &'insert &'a str>>, Option<Eq<build_date, &'insert &'a str>>, Option<Eq<build_action, &'insert &'a str>>, Option<Eq<build_script, &'insert &'a str>>, Option<Eq<build_log, &'insert &'a str>>, Option<Eq<provides, &'insert Value>>, Option<Eq<snapshots, &'insert Value>>, Option<Eq<replaces, &'insert Value>>, Option<Eq<soar_syms, &'insert bool>>, Option<Eq<desktop_integration, &'insert bool>>, Option<Eq<portable, &'insert bool>>, Option<Eq<recurse_provides, &'insert bool>>) as Insertable<table>>::Values
Construct
Self::Values Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self into a given table. Read moreSource§impl<'a> Insertable<table> for NewPackage<'a>
impl<'a> Insertable<table> for NewPackage<'a>
Source§type Values = <(Option<Grouped<Eq<pkg_id, <&'a str as AsExpression<<pkg_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_name, <&'a str as AsExpression<<pkg_name as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_type, <&'a str as AsExpression<<pkg_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_webpage, <&'a str as AsExpression<<pkg_webpage as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<app_id, <&'a str as AsExpression<<app_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<description, <&'a str as AsExpression<<description as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<version, <&'a str as AsExpression<<version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<licenses, <Value as AsExpression<<licenses as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<download_url, <&'a str as AsExpression<<download_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<size, <i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_pkg, <&'a str as AsExpression<<ghcr_pkg as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_size, <i64 as AsExpression<<ghcr_size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_blob, <&'a str as AsExpression<<ghcr_blob as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_url, <&'a str as AsExpression<<ghcr_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<bsum, <&'a str as AsExpression<<bsum as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<icon, <&'a str as AsExpression<<icon as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop, <&'a str as AsExpression<<desktop as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<appstream, <&'a str as AsExpression<<appstream as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<homepages, <Value as AsExpression<<homepages as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<notes, <Value as AsExpression<<notes as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<source_urls, <Value as AsExpression<<source_urls as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<tags, <Value as AsExpression<<tags as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<categories, <Value as AsExpression<<categories as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_id, <&'a str as AsExpression<<build_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_date, <&'a str as AsExpression<<build_date as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_action, <&'a str as AsExpression<<build_action as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_script, <&'a str as AsExpression<<build_script as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_log, <&'a str as AsExpression<<build_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<provides, <Value as AsExpression<<provides as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<snapshots, <Value as AsExpression<<snapshots as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<replaces, <Value as AsExpression<<replaces as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<soar_syms, <bool as AsExpression<<soar_syms as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop_integration, <bool as AsExpression<<desktop_integration as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<portable, <bool as AsExpression<<portable as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<recurse_provides, <bool as AsExpression<<recurse_provides as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<pkg_id, <&'a str as AsExpression<<pkg_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_name, <&'a str as AsExpression<<pkg_name as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_type, <&'a str as AsExpression<<pkg_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<pkg_webpage, <&'a str as AsExpression<<pkg_webpage as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<app_id, <&'a str as AsExpression<<app_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<description, <&'a str as AsExpression<<description as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<version, <&'a str as AsExpression<<version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<licenses, <Value as AsExpression<<licenses as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<download_url, <&'a str as AsExpression<<download_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<size, <i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_pkg, <&'a str as AsExpression<<ghcr_pkg as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_size, <i64 as AsExpression<<ghcr_size as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_blob, <&'a str as AsExpression<<ghcr_blob as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<ghcr_url, <&'a str as AsExpression<<ghcr_url as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<bsum, <&'a str as AsExpression<<bsum as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<icon, <&'a str as AsExpression<<icon as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop, <&'a str as AsExpression<<desktop as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<appstream, <&'a str as AsExpression<<appstream as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<homepages, <Value as AsExpression<<homepages as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<notes, <Value as AsExpression<<notes as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<source_urls, <Value as AsExpression<<source_urls as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<tags, <Value as AsExpression<<tags as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<categories, <Value as AsExpression<<categories as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_id, <&'a str as AsExpression<<build_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_date, <&'a str as AsExpression<<build_date as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_action, <&'a str as AsExpression<<build_action as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_script, <&'a str as AsExpression<<build_script as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<build_log, <&'a str as AsExpression<<build_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<provides, <Value as AsExpression<<provides as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<snapshots, <Value as AsExpression<<snapshots as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<replaces, <Value as AsExpression<<replaces as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<soar_syms, <bool as AsExpression<<soar_syms as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<desktop_integration, <bool as AsExpression<<desktop_integration as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<portable, <bool as AsExpression<<portable as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<recurse_provides, <bool as AsExpression<<recurse_provides as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn values(
self,
) -> <(Option<Eq<pkg_id, &'a str>>, Option<Eq<pkg_name, &'a str>>, Option<Eq<pkg_type, &'a str>>, Option<Eq<pkg_webpage, &'a str>>, Option<Eq<app_id, &'a str>>, Option<Eq<description, &'a str>>, Option<Eq<version, &'a str>>, Option<Eq<licenses, Value>>, Option<Eq<download_url, &'a str>>, Option<Eq<size, i64>>, Option<Eq<ghcr_pkg, &'a str>>, Option<Eq<ghcr_size, i64>>, Option<Eq<ghcr_blob, &'a str>>, Option<Eq<ghcr_url, &'a str>>, Option<Eq<bsum, &'a str>>, Option<Eq<icon, &'a str>>, Option<Eq<desktop, &'a str>>, Option<Eq<appstream, &'a str>>, Option<Eq<homepages, Value>>, Option<Eq<notes, Value>>, Option<Eq<source_urls, Value>>, Option<Eq<tags, Value>>, Option<Eq<categories, Value>>, Option<Eq<build_id, &'a str>>, Option<Eq<build_date, &'a str>>, Option<Eq<build_action, &'a str>>, Option<Eq<build_script, &'a str>>, Option<Eq<build_log, &'a str>>, Option<Eq<provides, Value>>, Option<Eq<snapshots, Value>>, Option<Eq<replaces, Value>>, Option<Eq<soar_syms, bool>>, Option<Eq<desktop_integration, bool>>, Option<Eq<portable, bool>>, Option<Eq<recurse_provides, bool>>) as Insertable<table>>::Values
fn values( self, ) -> <(Option<Eq<pkg_id, &'a str>>, Option<Eq<pkg_name, &'a str>>, Option<Eq<pkg_type, &'a str>>, Option<Eq<pkg_webpage, &'a str>>, Option<Eq<app_id, &'a str>>, Option<Eq<description, &'a str>>, Option<Eq<version, &'a str>>, Option<Eq<licenses, Value>>, Option<Eq<download_url, &'a str>>, Option<Eq<size, i64>>, Option<Eq<ghcr_pkg, &'a str>>, Option<Eq<ghcr_size, i64>>, Option<Eq<ghcr_blob, &'a str>>, Option<Eq<ghcr_url, &'a str>>, Option<Eq<bsum, &'a str>>, Option<Eq<icon, &'a str>>, Option<Eq<desktop, &'a str>>, Option<Eq<appstream, &'a str>>, Option<Eq<homepages, Value>>, Option<Eq<notes, Value>>, Option<Eq<source_urls, Value>>, Option<Eq<tags, Value>>, Option<Eq<categories, Value>>, Option<Eq<build_id, &'a str>>, Option<Eq<build_date, &'a str>>, Option<Eq<build_action, &'a str>>, Option<Eq<build_script, &'a str>>, Option<Eq<build_log, &'a str>>, Option<Eq<provides, Value>>, Option<Eq<snapshots, Value>>, Option<Eq<replaces, Value>>, Option<Eq<soar_syms, bool>>, Option<Eq<desktop_integration, bool>>, Option<Eq<portable, bool>>, Option<Eq<recurse_provides, bool>>) as Insertable<table>>::Values
Construct
Self::Values Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>
Insert
self into a given table. Read moreSource§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
What is the
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>
Decomposes
self into the table and where clause.Source§impl<DB> QueryFragment<DB> for table
impl<DB> QueryFragment<DB> for table
Source§impl QueryId for table
impl QueryId for table
Source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by
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>
The type returned by
from_clauseSource§type DefaultSelection = <table as Table>::AllColumns
type DefaultSelection = <table as Table>::AllColumns
The type returned by
default_selectionSource§fn from_clause(&self) -> Self::FromClause
fn from_clause(&self) -> Self::FromClause
The actual
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
The default select clause of this type, which should be used if no
select clause was explicitly specified. This should always be a tuple of
all the desired columns, not
starSource§impl Table for table
impl Table for table
Source§type PrimaryKey = id
type PrimaryKey = id
The type returned by
primary_keySource§type AllColumns = (id, pkg_id, pkg_name, pkg_type, pkg_webpage, app_id, description, version, licenses, download_url, size, ghcr_pkg, ghcr_size, ghcr_blob, ghcr_url, bsum, icon, desktop, appstream, homepages, notes, source_urls, tags, categories, build_id, build_date, build_action, build_script, build_log, provides, snapshots, replaces, soar_syms, desktop_integration, portable, recurse_provides)
type AllColumns = (id, pkg_id, pkg_name, pkg_type, pkg_webpage, app_id, description, version, licenses, download_url, size, ghcr_pkg, ghcr_size, ghcr_blob, ghcr_url, bsum, icon, desktop, appstream, homepages, notes, source_urls, tags, categories, build_id, build_date, build_action, build_script, build_log, provides, snapshots, replaces, soar_syms, desktop_integration, portable, recurse_provides)
The type returned by
all_columnsSource§fn primary_key(&self) -> Self::PrimaryKey
fn primary_key(&self) -> Self::PrimaryKey
Returns the primary key of this table. Read more
Source§fn all_columns() -> Self::AllColumns
fn all_columns() -> Self::AllColumns
Returns a tuple of all columns belonging to this table.
impl AppearsOnTable<table> for star
impl Copy for table
impl<S> JoinTo<Alias<S>> for table
impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for table
impl SelectableExpression<table> for app_id
impl SelectableExpression<table> for appstream
impl SelectableExpression<table> for bsum
impl SelectableExpression<table> for build_action
impl SelectableExpression<table> for build_date
impl SelectableExpression<table> for build_id
impl SelectableExpression<table> for build_log
impl SelectableExpression<table> for build_script
impl SelectableExpression<table> for categories
impl SelectableExpression<table> for description
impl SelectableExpression<table> for desktop
impl SelectableExpression<table> for desktop_integration
impl SelectableExpression<table> for download_url
impl SelectableExpression<table> for ghcr_blob
impl SelectableExpression<table> for ghcr_pkg
impl SelectableExpression<table> for ghcr_size
impl SelectableExpression<table> for ghcr_url
impl SelectableExpression<table> for homepages
impl SelectableExpression<table> for icon
impl SelectableExpression<table> for id
impl SelectableExpression<table> for licenses
impl SelectableExpression<table> for notes
impl SelectableExpression<table> for pkg_id
impl SelectableExpression<table> for pkg_name
impl SelectableExpression<table> for pkg_type
impl SelectableExpression<table> for pkg_webpage
impl SelectableExpression<table> for portable
impl SelectableExpression<table> for provides
impl SelectableExpression<table> for recurse_provides
impl SelectableExpression<table> for replaces
impl SelectableExpression<table> for size
impl SelectableExpression<table> for snapshots
impl SelectableExpression<table> for soar_syms
impl SelectableExpression<table> for source_urls
impl SelectableExpression<table> for star
impl SelectableExpression<table> for version
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl TableNotEqual<table> for table
impl<'a> UndecoratedInsertRecord<table> for NewPackage<'a>
Auto Trait Implementations§
impl Freeze for table
impl RefUnwindSafe for table
impl Send for table
impl Sync for table
impl Unpin for table
impl UnwindSafe for table
Blanket Implementations§
Source§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
Source§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read moreSource§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read moreSource§fn aggregate_filter<P>(self, f: P) -> Self::Output
fn aggregate_filter<P>(self, f: P) -> Self::Output
Add an aggregate function filter Read more
Source§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
Add an aggregate function order Read more
Source§impl<T1, T2> AppearsInFromClause<T2> for T1
impl<T1, T2> AppearsInFromClause<T2> for T1
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
Mutably borrows from an owned value. Read more
Source§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,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CombineDsl for Twhere
T: Table,
impl<T> CombineDsl for Twhere
T: Table,
Source§fn union<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn union<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Union, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
UNION Read moreSource§fn union_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Union, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn union_all<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Union, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
UNION ALLSource§fn intersect<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn intersect<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Intersect, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
INTERSECTSource§fn intersect_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Intersect, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn intersect_all<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Intersect, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
INTERSECT ALLSource§fn except<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn except<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Except, Distinct, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
EXCEPTSource§fn except_all<Rhs>(
self,
rhs: Rhs,
) -> CombinationClause<Except, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
fn except_all<Rhs>( self, rhs: Rhs, ) -> CombinationClause<Except, All, <T as CombineDsl>::Query, <Rhs as AsQuery>::Query>
Combine two queries using a SQL
EXCEPT ALLSource§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,
Source§type Output = <SelectStatement<FromClause<T>> as DistinctDsl>::Output
type Output = <SelectStatement<FromClause<T>> as DistinctDsl>::Output
The type returned by
.distinctSource§fn distinct(self) -> <SelectStatement<FromClause<T>> as DistinctDsl>::Output
fn distinct(self) -> <SelectStatement<FromClause<T>> as DistinctDsl>::Output
See the trait documentation.
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read moreSource§impl<T> JoinOnDsl for Twhere
T: QuerySource,
impl<T> JoinOnDsl for Twhere
T: QuerySource,
Source§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)
Source§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,
Source§type Output = <SelectStatement<FromClause<T>> as LockingDsl<Lock>>::Output
type Output = <SelectStatement<FromClause<T>> as LockingDsl<Lock>>::Output
The type returned by
set_lock. See dsl::ForUpdate and friends for
convenient access to this type.Source§fn with_lock(self, lock: Lock) -> <T as LockingDsl<Lock>>::Output
fn with_lock(self, lock: Lock) -> <T as LockingDsl<Lock>>::Output
See the trait level documentation
Source§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Change the foreground color to black
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Change the background color to black
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Change the foreground color to red
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Change the background color to red
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Change the foreground color to green
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Change the background color to green
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Change the foreground color to yellow
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Change the background color to yellow
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Change the foreground color to blue
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Change the background color to blue
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Change the foreground color to magenta
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Change the foreground color to purple
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to purple
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Change the foreground color to cyan
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Change the background color to cyan
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Change the foreground color to white
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Change the background color to white
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Make the text bold
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Make the text dim
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Make the text italicized
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Make the text underlined
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Make the text blink
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Swap the foreground and background colors
Hide the text
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read moreSource§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
Source§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
Source§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
Source§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
Source§impl<T> QueryDsl for Twhere
T: Table,
impl<T> QueryDsl for Twhere
T: Table,
Source§fn distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
Adds the
DISTINCT keyword to a query. Read moreSource§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>,
Adds a
SELECT clause to the query. Read moreSource§fn count(self) -> Self::Outputwhere
Self: SelectDsl<CountStar>,
fn count(self) -> Self::Outputwhere
Self: SelectDsl<CountStar>,
Get the count of a query. This is equivalent to
.select(count_star()) Read moreSource§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>,
Join two tables using a SQL
INNER JOIN. Read moreSource§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>,
Join two tables using a SQL
LEFT OUTER JOIN. Read moreSource§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>,
Alias for
left_outer_join.Source§fn filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: FilterDsl<Predicate>,
fn filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: FilterDsl<Predicate>,
Adds to the
WHERE clause of a query. Read moreSource§fn or_filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: OrFilterDsl<Predicate>,
fn or_filter<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: OrFilterDsl<Predicate>,
Source§fn find<PK>(self, id: PK) -> Self::Outputwhere
Self: FindDsl<PK>,
fn find<PK>(self, id: PK) -> Self::Outputwhere
Self: FindDsl<PK>,
Attempts to find a single record from the given table by primary key. Read more
Source§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>,
Sets the order clause of a query. Read more
Source§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>,
Alias for
orderSource§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>,
Appends to the
ORDER BY clause of this SQL query. Read moreSource§fn limit(self, limit: i64) -> Self::Outputwhere
Self: LimitDsl,
fn limit(self, limit: i64) -> Self::Outputwhere
Self: LimitDsl,
Sets the limit clause of the query. Read more
Source§fn offset(self, offset: i64) -> Self::Outputwhere
Self: OffsetDsl,
fn offset(self, offset: i64) -> Self::Outputwhere
Self: OffsetDsl,
Sets the offset clause of the query. Read more
Source§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>,
Sets the
group by clause of a query. Read moreSource§fn having<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: HavingDsl<Predicate>,
fn having<Predicate>(self, predicate: Predicate) -> Self::Outputwhere
Self: HavingDsl<Predicate>,
Adds to the
HAVING clause of a query. Read moreSource§fn for_update(self) -> Self::Outputwhere
Self: LockingDsl<ForUpdate>,
fn for_update(self) -> Self::Outputwhere
Self: LockingDsl<ForUpdate>,
Adds
FOR UPDATE to the end of the select statement. Read moreSource§fn for_no_key_update(self) -> Self::Outputwhere
Self: LockingDsl<ForNoKeyUpdate>,
fn for_no_key_update(self) -> Self::Outputwhere
Self: LockingDsl<ForNoKeyUpdate>,
Adds
FOR NO KEY UPDATE to the end of the select statement. Read moreAdds
FOR SHARE to the end of the select statement. Read moreAdds
FOR KEY SHARE to the end of the select statement. Read moreSource§fn skip_locked(self) -> Self::Outputwhere
Self: ModifyLockDsl<SkipLocked>,
fn skip_locked(self) -> Self::Outputwhere
Self: ModifyLockDsl<SkipLocked>,
Source§fn no_wait(self) -> Self::Outputwhere
Self: ModifyLockDsl<NoWait>,
fn no_wait(self) -> Self::Outputwhere
Self: ModifyLockDsl<NoWait>,
Source§fn into_boxed<'a, DB>(self) -> Self::Output
fn into_boxed<'a, DB>(self) -> Self::Output
Boxes the pieces of a query into a single type. Read more
Source§fn single_value(self) -> Self::Outputwhere
Self: SingleValueDsl,
fn single_value(self) -> Self::Outputwhere
Self: SingleValueDsl,
Wraps this select statement in parenthesis, allowing it to be used
as an expression. Read more
Source§impl<T, Conn> RunQueryDsl<Conn> for Twhere
T: Table,
impl<T, Conn> RunQueryDsl<Conn> for Twhere
T: Table,
Source§fn execute(self, conn: &mut Conn) -> Result<usize, Error>where
Conn: Connection,
Self: ExecuteDsl<Conn>,
fn execute(self, conn: &mut Conn) -> Result<usize, Error>where
Conn: Connection,
Self: ExecuteDsl<Conn>,
Executes the given command, returning the number of rows affected. Read more
Source§fn load<'query, U>(self, conn: &mut Conn) -> Result<Vec<U>, Error>where
Self: LoadQuery<'query, Conn, U>,
fn load<'query, U>(self, conn: &mut Conn) -> Result<Vec<U>, Error>where
Self: LoadQuery<'query, Conn, U>,
Source§fn load_iter<'conn, 'query, U, B>(
self,
conn: &'conn mut Conn,
) -> Result<Self::RowIter<'conn>, Error>where
'query: 'conn,
U: 'conn,
Self: LoadQuery<'query, Conn, U, B> + 'conn,
fn load_iter<'conn, 'query, U, B>(
self,
conn: &'conn mut Conn,
) -> Result<Self::RowIter<'conn>, Error>where
'query: 'conn,
U: 'conn,
Self: LoadQuery<'query, Conn, U, B> + 'conn,
Source§fn get_result<'query, U>(self, conn: &mut Conn) -> Result<U, Error>where
Self: LoadQuery<'query, Conn, U>,
fn get_result<'query, U>(self, conn: &mut Conn) -> Result<U, Error>where
Self: LoadQuery<'query, Conn, U>,
Runs the command, and returns the affected row. Read more
Source§impl<T> WindowExpressionMethods for T
impl<T> WindowExpressionMethods for T
Source§fn over(self) -> Self::Outputwhere
Self: OverDsl,
fn over(self) -> Self::Outputwhere
Self: OverDsl,
Turn a function call into a window function call Read more
Source§fn window_filter<P>(self, f: P) -> Self::Output
fn window_filter<P>(self, f: P) -> Self::Output
Add a filter to the current window function Read more
Source§fn partition_by<E>(self, expr: E) -> Self::Outputwhere
Self: PartitionByDsl<E>,
fn partition_by<E>(self, expr: E) -> Self::Outputwhere
Self: PartitionByDsl<E>,
Add a partition clause to the current window function Read more
Source§fn window_order<E>(self, expr: E) -> Self::Outputwhere
Self: OrderWindowDsl<E>,
fn window_order<E>(self, expr: E) -> Self::Outputwhere
Self: OrderWindowDsl<E>,
Add a order clause to the current window function Read more