Struct rorm_sql::select_column::SelectColumnData
source · pub struct SelectColumnData<'until_build> {
pub table_name: Option<&'until_build str>,
pub column_name: &'until_build str,
pub select_alias: Option<&'until_build str>,
pub aggregation: Option<SelectAggregator>,
}
Expand description
Representation of a select identifier.
This is due to the presence of join expressions and some reserved keywords in postgres.
Fields§
§table_name: Option<&'until_build str>
Optional name of the table
column_name: &'until_build str
Name of the column
select_alias: Option<&'until_build str>
Optional alias to set for the column
aggregation: Option<SelectAggregator>
Optional aggregation function
Trait Implementations§
source§impl<'until_build> Clone for SelectColumnData<'until_build>
impl<'until_build> Clone for SelectColumnData<'until_build>
source§fn clone(&self) -> SelectColumnData<'until_build>
fn clone(&self) -> SelectColumnData<'until_build>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more