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 duplicate 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 moreSource§impl<'until_build> Debug for SelectColumnData<'until_build>
impl<'until_build> Debug for SelectColumnData<'until_build>
impl<'until_build> Copy for SelectColumnData<'until_build>
Auto Trait Implementations§
impl<'until_build> Freeze for SelectColumnData<'until_build>
impl<'until_build> RefUnwindSafe for SelectColumnData<'until_build>
impl<'until_build> Send for SelectColumnData<'until_build>
impl<'until_build> Sync for SelectColumnData<'until_build>
impl<'until_build> Unpin for SelectColumnData<'until_build>
impl<'until_build> UnwindSafe for SelectColumnData<'until_build>
Blanket Implementations§
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