pub enum ColumnSource {
Source {
namespace: Fragment,
source: Fragment,
},
Alias(Fragment),
}Expand description
How a column is qualified in plans (always fully qualified)
Variants§
Source
Fully qualified by namespace.source
Alias(Fragment)
Qualified by alias (which maps to a fully qualified source)
Implementations§
Source§impl ColumnSource
impl ColumnSource
pub fn into_owned(self) -> ColumnSource
pub fn to_static(&self) -> ColumnSource
pub fn as_fragment(&self) -> &Fragment
Trait Implementations§
Source§impl Clone for ColumnSource
impl Clone for ColumnSource
Source§fn clone(&self) -> ColumnSource
fn clone(&self) -> ColumnSource
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 Debug for ColumnSource
impl Debug for ColumnSource
Source§impl<'de> Deserialize<'de> for ColumnSource
impl<'de> Deserialize<'de> for ColumnSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ColumnSource
impl PartialEq for ColumnSource
Source§impl Serialize for ColumnSource
impl Serialize for ColumnSource
impl StructuralPartialEq for ColumnSource
Auto Trait Implementations§
impl Freeze for ColumnSource
impl RefUnwindSafe for ColumnSource
impl Send for ColumnSource
impl Sync for ColumnSource
impl Unpin for ColumnSource
impl UnwindSafe for ColumnSource
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