pub struct PartitionCheck {
pub table: u32,
pub default: bool,
}Expand description
A partition whose rows must satisfy its partition constraint, one entry of tab->partition_constraint.
Fields§
§table: u32The OID of the partition. The caller checks the rows of each of its leaf partitions.
default: boolTrue for the default partition, whose constraint is smaller after a new partition, with the error of validateDefaultPartitionConstraint for a row that violates it.
Trait Implementations§
Source§impl Clone for PartitionCheck
impl Clone for PartitionCheck
impl Copy for PartitionCheck
Source§impl Debug for PartitionCheck
impl Debug for PartitionCheck
impl Eq for PartitionCheck
Source§impl PartialEq for PartitionCheck
impl PartialEq for PartitionCheck
impl StructuralPartialEq for PartitionCheck
Auto Trait Implementations§
impl Freeze for PartitionCheck
impl RefUnwindSafe for PartitionCheck
impl Send for PartitionCheck
impl Sync for PartitionCheck
impl Unpin for PartitionCheck
impl UnsafeUnpin for PartitionCheck
impl UnwindSafe for PartitionCheck
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