pub struct PgInherits {
pub inhrelid: Str,
pub inhparent: Str,
pub inhseqno: u32,
}Expand description
The DDL-only contents of pg_inherits
Fields§
§inhrelid: Stroid (references pg_class.oid) The OID of the child table or index
inhparent: Stroid (references pg_class.oid) The OID of the parent table or index
inhseqno: u32int4 If there is more than one direct parent for a child table (multiple inheritance), this number tells the order in which the inherited columns are to be arranged. The count starts at 1. Indexes cannot have multiple inheritance, since they can only inherit when using declarative partitioning.
Trait Implementations§
Source§impl Clone for PgInherits
impl Clone for PgInherits
Source§fn clone(&self) -> PgInherits
fn clone(&self) -> PgInherits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PgInherits
impl Debug for PgInherits
Source§impl<'de> Deserialize<'de> for PgInherits
impl<'de> Deserialize<'de> for PgInherits
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
Source§impl PartialEq for PgInherits
impl PartialEq for PgInherits
Source§impl Serialize for PgInherits
impl Serialize for PgInherits
impl Eq for PgInherits
impl StructuralPartialEq for PgInherits
Auto Trait Implementations§
impl Freeze for PgInherits
impl RefUnwindSafe for PgInherits
impl Send for PgInherits
impl Sync for PgInherits
impl Unpin for PgInherits
impl UnsafeUnpin for PgInherits
impl UnwindSafe for PgInherits
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.