pub enum TableInheritance {
Only {
parenthesized: bool,
},
IncludeDescendants,
}Expand description
PostgreSQL table inheritance marker, see TableFactor::Table::inheritance.
https://www.postgresql.org/docs/current/sql-select.html#SQL-FROM
Variants§
Only
ONLY name, or ONLY (name) when parenthesized, excluding descendant tables.
IncludeDescendants
name *, explicitly including descendant tables.
Trait Implementations§
Source§impl Clone for TableInheritance
impl Clone for TableInheritance
Source§fn clone(&self) -> TableInheritance
fn clone(&self) -> TableInheritance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableInheritance
Source§impl Debug for TableInheritance
impl Debug for TableInheritance
impl Eq for TableInheritance
Source§impl Hash for TableInheritance
impl Hash for TableInheritance
Source§impl Ord for TableInheritance
impl Ord for TableInheritance
Source§fn cmp(&self, other: &TableInheritance) -> Ordering
fn cmp(&self, other: &TableInheritance) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TableInheritance
impl PartialEq for TableInheritance
Source§impl PartialOrd for TableInheritance
impl PartialOrd for TableInheritance
impl StructuralPartialEq for TableInheritance
Auto Trait Implementations§
impl Freeze for TableInheritance
impl RefUnwindSafe for TableInheritance
impl Send for TableInheritance
impl Sync for TableInheritance
impl Unpin for TableInheritance
impl UnsafeUnpin for TableInheritance
impl UnwindSafe for TableInheritance
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