pub struct PgRange {
pub rngtypid: Str,
pub rngsubtype: Str,
pub rngmultitypid: Str,
pub rngcollation: Option<Str>,
pub rngsubopc: Str,
pub rngcanonical: Option<Str>,
pub rngsubdiff: Option<Str>,
}Expand description
The DDL-only contents of pg_range
Fields§
§rngtypid: Stroid (references pg_type.oid) OID of the range type
rngsubtype: Stroid (references pg_type.oid) OID of the element type (subtype) of this range type
rngmultitypid: Stroid (references pg_type.oid) OID of the multirange type for this range type
rngcollation: Option<Str>oid (references pg_collation.oid) OID of the collation used for range comparisons, or zero if none
rngsubopc: Stroid (references pg_opclass.oid) OID of the subtype’s operator class used for range comparisons
rngcanonical: Option<Str>regproc (references pg_proc.oid) OID of the function to convert a range value into canonical form, or zero if none
rngsubdiff: Option<Str>regproc (references pg_proc.oid) OID of the function to return the difference between two element values as double precision, or zero if none
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PgRange
impl<'de> Deserialize<'de> for PgRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PgRange
impl StructuralPartialEq for PgRange
Auto Trait Implementations§
impl Freeze for PgRange
impl RefUnwindSafe for PgRange
impl Send for PgRange
impl Sync for PgRange
impl Unpin for PgRange
impl UnsafeUnpin for PgRange
impl UnwindSafe for PgRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.