[][src]Struct postgres_parser::sys::PartitionSpec

#[repr(C)]pub struct PartitionSpec {
    pub type_: NodeTag,
    pub strategy: *mut c_char,
    pub partParams: *mut List,
    pub location: c_int,
}

PartitionSpec parsetime representation of a partition key specification

This represents the key space we will be partitioning on.

Fields

type_: NodeTagstrategy: *mut c_charpartParams: *mut List

partitioning strategy ('hash', 'list' or 'range')

location: c_int

List of PartitionElems

Trait Implementations

impl Debug for PartitionSpec[src]

impl Default for PartitionSpec[src]

impl Eq for PartitionSpec[src]

impl Hash for PartitionSpec[src]

impl PartialEq<PartitionSpec> for PartitionSpec[src]

impl StructuralEq for PartitionSpec[src]

impl StructuralPartialEq for PartitionSpec[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.