pub struct PartitionKey {
pub strategy: PartStrategy,
pub attrs: Vec<i16>,
pub classes: Vec<u32>,
pub collations: Vec<u32>,
pub exprs: Option<String>,
}Expand description
The partition key of a partitioned table, one row of pg_partitioned_table.
Fields§
§strategy: PartStrategyThe strategy.
attrs: Vec<i16>partattrs: the column number of each key column, or 0 for an expression.
classes: Vec<u32>partclass: the operator class of each key column.
collations: Vec<u32>partcollation: the collation of each key column, or 0.
exprs: Option<String>partexprs: the expressions of the key columns with number 0, in the form of the analyzer.
Trait Implementations§
Source§impl Clone for PartitionKey
impl Clone for PartitionKey
Source§impl Debug for PartitionKey
impl Debug for PartitionKey
impl Eq for PartitionKey
Source§impl PartialEq for PartitionKey
impl PartialEq for PartitionKey
impl StructuralPartialEq for PartitionKey
Auto Trait Implementations§
impl Freeze for PartitionKey
impl RefUnwindSafe for PartitionKey
impl Send for PartitionKey
impl Sync for PartitionKey
impl Unpin for PartitionKey
impl UnsafeUnpin for PartitionKey
impl UnwindSafe for PartitionKey
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