pub struct ProjectionItem {
pub kind: ProjectionKind,
pub alias: Option<String>,
}Expand description
One entry in the projection list.
Fields§
§kind: ProjectionKind§alias: Option<String>AS alias if explicitly supplied.
Implementations§
Source§impl ProjectionItem
impl ProjectionItem
Sourcepub fn output_name(&self) -> String
pub fn output_name(&self) -> String
Resolve the user-visible column header for this projection item. Alias if supplied, else the bare column name or aggregate display.
Trait Implementations§
Source§impl Clone for ProjectionItem
impl Clone for ProjectionItem
Source§fn clone(&self) -> ProjectionItem
fn clone(&self) -> ProjectionItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProjectionItem
impl RefUnwindSafe for ProjectionItem
impl Send for ProjectionItem
impl Sync for ProjectionItem
impl Unpin for ProjectionItem
impl UnsafeUnpin for ProjectionItem
impl UnwindSafe for ProjectionItem
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