pub enum ColumnPrimitive {
Primitive {
namespace: Fragment,
primitive: Fragment,
},
Alias(Fragment),
}Expand description
How a column is qualified in plans (always fully qualified)
Variants§
Primitive
Fully qualified by namespace.primitive
Alias(Fragment)
Qualified by alias (which maps to a fully qualified primitive)
Implementations§
Source§impl ColumnPrimitive
impl ColumnPrimitive
pub fn into_owned(self) -> ColumnPrimitive
pub fn to_static(&self) -> ColumnPrimitive
pub fn as_fragment(&self) -> &Fragment
Trait Implementations§
Source§impl Clone for ColumnPrimitive
impl Clone for ColumnPrimitive
Source§fn clone(&self) -> ColumnPrimitive
fn clone(&self) -> ColumnPrimitive
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 ColumnPrimitive
impl Debug for ColumnPrimitive
Source§impl<'de> Deserialize<'de> for ColumnPrimitive
impl<'de> Deserialize<'de> for ColumnPrimitive
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 ColumnPrimitive
impl PartialEq for ColumnPrimitive
Source§impl Serialize for ColumnPrimitive
impl Serialize for ColumnPrimitive
impl StructuralPartialEq for ColumnPrimitive
Auto Trait Implementations§
impl Freeze for ColumnPrimitive
impl RefUnwindSafe for ColumnPrimitive
impl Send for ColumnPrimitive
impl Sync for ColumnPrimitive
impl Unpin for ColumnPrimitive
impl UnsafeUnpin for ColumnPrimitive
impl UnwindSafe for ColumnPrimitive
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more