[][src]Struct postgres_parser::nodes::PartitionBoundSpec

pub struct PartitionBoundSpec {
    pub strategy: char,
    pub is_default: bool,
    pub modulus: i32,
    pub remainder: i32,
    pub listdatums: Option<Vec<Node>>,
    pub lowerdatums: Option<Vec<Node>>,
    pub upperdatums: Option<Vec<Node>>,
    pub location: i32,
}

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

strategy: charis_default: boolmodulus: i32remainder: i32listdatums: Option<Vec<Node>>lowerdatums: Option<Vec<Node>>upperdatums: Option<Vec<Node>>location: i32

Trait Implementations

impl Debug for PartitionBoundSpec[src]

impl<'de> Deserialize<'de> for PartitionBoundSpec[src]

impl Eq for PartitionBoundSpec[src]

impl PartialEq<PartitionBoundSpec> for PartitionBoundSpec[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.