[][src]Struct postgres_parser::sys::PartitionBoundSpec

#[repr(C)]pub struct PartitionBoundSpec {
    pub type_: NodeTag,
    pub strategy: c_char,
    pub is_default: bool,
    pub modulus: c_int,
    pub remainder: c_int,
    pub listdatums: *mut List,
    pub lowerdatums: *mut List,
    pub upperdatums: *mut List,
    pub location: c_int,
}

PartitionBoundSpec a partition bound specification

This represents the portion of the partition key space assigned to a particular partition. These are stored on disk in pg_class.relpartbound.

Fields

type_: NodeTagstrategy: c_charis_default: bool

see PARTITION_STRATEGY codes above

modulus: c_int

Partitioning info for HASH strategy:

remainder: c_intlistdatums: *mut List

Partitioning info for LIST strategy:

lowerdatums: *mut List

Partitioning info for RANGE strategy:

upperdatums: *mut List

List of PartitionRangeDatums

location: c_int

List of PartitionRangeDatums

Trait Implementations

impl Debug for PartitionBoundSpec[src]

impl Default for PartitionBoundSpec[src]

impl Eq for PartitionBoundSpec[src]

impl Hash for PartitionBoundSpec[src]

impl PartialEq<PartitionBoundSpec> for PartitionBoundSpec[src]

impl StructuralEq for PartitionBoundSpec[src]

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