pub struct CatalogTable {Show 14 fields
pub name: String,
pub relation_kind: RelationKind,
pub partition_of: Option<String>,
pub omitted_partition_leaves: Option<u32>,
pub inherited_from: Vec<String>,
pub comment: Option<String>,
pub columns: Vec<CatalogColumn>,
pub primary_key: Option<Vec<String>>,
pub foreign_keys: Vec<CatalogForeignKey>,
pub check_constraints: Vec<CatalogCheck>,
pub unique_constraints: Vec<CatalogUnique>,
pub indexes: Vec<CatalogIndexInfo>,
pub triggers: Vec<CatalogTrigger>,
pub partition_key: Option<PartitionKey>,
}Fields§
§name: String§relation_kind: RelationKind§partition_of: Option<String>§omitted_partition_leaves: Option<u32>§inherited_from: Vec<String>§comment: Option<String>§columns: Vec<CatalogColumn>§primary_key: Option<Vec<String>>§foreign_keys: Vec<CatalogForeignKey>§check_constraints: Vec<CatalogCheck>§unique_constraints: Vec<CatalogUnique>§indexes: Vec<CatalogIndexInfo>§triggers: Vec<CatalogTrigger>§partition_key: Option<PartitionKey>Trait Implementations§
Source§impl Clone for CatalogTable
impl Clone for CatalogTable
Source§impl Debug for CatalogTable
impl Debug for CatalogTable
impl Eq for CatalogTable
Source§impl PartialEq for CatalogTable
impl PartialEq for CatalogTable
impl StructuralPartialEq for CatalogTable
Auto Trait Implementations§
impl Forget for CatalogTable
impl Freeze for CatalogTablewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CatalogColumn>: Freeze,
PhantomData<CatalogForeignKey>: Freeze,
PhantomData<CatalogCheck>: Freeze,
PhantomData<CatalogUnique>: Freeze,
PhantomData<CatalogIndexInfo>: Freeze,
PhantomData<CatalogTrigger>: Freeze,
PhantomData<PartitionKeyElement>: Freeze,
impl Move for CatalogTable
impl RefUnwindSafe for CatalogTable
impl Send for CatalogTablewhere
RawVecInner: Send,
impl Sync for CatalogTablewhere
RawVecInner: Sync,
impl Unpin for CatalogTable
impl UnsafeUnpin for CatalogTablewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CatalogColumn>: UnsafeUnpin,
PhantomData<CatalogForeignKey>: UnsafeUnpin,
PhantomData<CatalogCheck>: UnsafeUnpin,
PhantomData<CatalogUnique>: UnsafeUnpin,
PhantomData<CatalogIndexInfo>: UnsafeUnpin,
PhantomData<CatalogTrigger>: UnsafeUnpin,
PhantomData<PartitionKeyElement>: UnsafeUnpin,
impl UnwindSafe for CatalogTablewhere
RawVecInner: UnwindSafe,
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more