pub enum StoredBound {
Default,
Hash {
modulus: i32,
remainder: i32,
},
List(Vec<Option<Expr>>),
Range {
lower: Vec<StoredDatum>,
upper: Vec<StoredDatum>,
},
}Expand description
The stored bound of a partition, as relpartbound keeps a PartitionBoundSpec.
Variants§
Default
DEFAULT.
Hash
FOR VALUES WITH (MODULUS m, REMAINDER r).
List(Vec<Option<Expr>>)
FOR VALUES IN (...): each constant, or None for NULL.
Range
FOR VALUES FROM (...) TO (...).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoredBound
impl RefUnwindSafe for StoredBound
impl Send for StoredBound
impl Sync for StoredBound
impl Unpin for StoredBound
impl UnsafeUnpin for StoredBound
impl UnwindSafe for StoredBound
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