[−][src]Struct postgres_parser::nodes::ColumnRef
ColumnRef specifies a reference to a column, or possibly a whole tuple
The "fields" list must be nonempty. It can contain string Value nodes (representing names) and A_Star nodes (representing occurrence of a '*'). Currently, A_Star must appear only as the last list element the grammar is responsible for enforcing this!
Note: any container subscripting or selection of fields from composite columns is represented by an A_Indirection node above the ColumnRef. However, for simplicity in the normal case, initial field selection from a table name is represented within ColumnRef and not by adding A_Indirection.
Fields
fields: Option<Vec<Node>>
location: i32
Trait Implementations
impl Debug for ColumnRef
[src]
impl<'de> Deserialize<'de> for ColumnRef
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ColumnRef
[src]
impl PartialEq<ColumnRef> for ColumnRef
[src]
impl Serialize for ColumnRef
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ColumnRef
[src]
impl StructuralPartialEq for ColumnRef
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColumnRef
impl Send for ColumnRef
impl Sync for ColumnRef
impl Unpin for ColumnRef
impl UnwindSafe for ColumnRef
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,