pub struct RangeInfo {
pub subtype: u32,
pub collation: u32,
pub subopc: u32,
pub canonical: u32,
pub subdiff: u32,
pub multirange: u32,
pub align: u8,
pub constructors: [u32; 5],
}Expand description
The facts of a range type, one row of pg_range.
Fields§
§subtype: u32rngsubtype: the OID of the subtype.
collation: u32rngcollation: the collation of the subtype, or 0 for a subtype that is not collatable.
subopc: u32rngsubopc: the OID of the btree operator class of the subtype.
canonical: u32rngcanonical: the OID of the canonical function, or 0.
subdiff: u32rngsubdiff: the OID of the difference function of the subtype, or 0.
multirange: u32rngmultitypid: the OID of the multirange type. Catalog::create_range sets it.
align: u8typalign of the range type, of its multirange type and of their array types: d when the subtype has the alignment d, else i.
constructors: [u32; 5]The OIDs of the constructors, in the order of their OIDs: two of the range type, then three of the multirange type. Catalog::create_range sets them.
Trait Implementations§
impl Eq for RangeInfo
impl StructuralPartialEq for RangeInfo
Auto Trait Implementations§
impl Freeze for RangeInfo
impl RefUnwindSafe for RangeInfo
impl Send for RangeInfo
impl Sync for RangeInfo
impl Unpin for RangeInfo
impl UnsafeUnpin for RangeInfo
impl UnwindSafe for RangeInfo
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