pub struct PartitionBySpec {
pub kind: PartitionKindAst,
pub key_columns: Vec<String>,
}Expand description
v7.37.6-B — PARTITION BY <kind> (key_columns…) parent suffix.
v7.37.6-B only RANGE is recognised; the enum keeps space for
future LIST / HASH without breaking the public AST shape.
Fields§
§kind: PartitionKindAst§key_columns: Vec<String>One or more ident references into the parent’s column list. v7.37.6-B contracts a single TIMESTAMPTZ key; multi-key RANGE is a phase-2 extension. Parser allows ≥1 to keep the shape PG-compatible.
Trait Implementations§
Source§impl Clone for PartitionBySpec
impl Clone for PartitionBySpec
Source§fn clone(&self) -> PartitionBySpec
fn clone(&self) -> PartitionBySpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartitionBySpec
impl Debug for PartitionBySpec
Source§impl PartialEq for PartitionBySpec
impl PartialEq for PartitionBySpec
impl StructuralPartialEq for PartitionBySpec
Auto Trait Implementations§
impl Freeze for PartitionBySpec
impl RefUnwindSafe for PartitionBySpec
impl Send for PartitionBySpec
impl Sync for PartitionBySpec
impl Unpin for PartitionBySpec
impl UnsafeUnpin for PartitionBySpec
impl UnwindSafe for PartitionBySpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more