[][src]Struct postgres_parser::sys::PartitionElem

#[repr(C)]pub struct PartitionElem {
    pub type_: NodeTag,
    pub name: *mut c_char,
    pub expr: *mut Node,
    pub collation: *mut List,
    pub opclass: *mut List,
    pub location: c_int,
}

PartitionElem parsetime representation of a single partition key

expr can be either a raw expression tree or a parseanalyzed expression. We don't store these ondisk, though.

Fields

type_: NodeTagname: *mut c_charexpr: *mut Node

name of column to partition on, or NULL

collation: *mut List

expression to partition on, or NULL

opclass: *mut List

name of collation; NIL = default

location: c_int

name of desired opclass; NIL = default

Trait Implementations

impl Debug for PartitionElem[src]

impl Default for PartitionElem[src]

impl Eq for PartitionElem[src]

impl Hash for PartitionElem[src]

impl PartialEq<PartitionElem> for PartitionElem[src]

impl StructuralEq for PartitionElem[src]

impl StructuralPartialEq for PartitionElem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.