pub enum PostgresSchemaType {
Table(&'static dyn PostgresTableInfo),
View(&'static dyn SQLViewInfo),
Index(&'static dyn SQLIndexInfo),
Trigger,
Enum(&'static dyn SQLEnumInfo),
}Expand description
The type of database object
Variants§
Table(&'static dyn PostgresTableInfo)
A regular table
View(&'static dyn SQLViewInfo)
A view
Index(&'static dyn SQLIndexInfo)
An index
Trigger
A trigger
Enum(&'static dyn SQLEnumInfo)
A database enum type (PostgreSQL)
Trait Implementations§
Source§impl Clone for PostgresSchemaType
impl Clone for PostgresSchemaType
Source§fn clone(&self) -> PostgresSchemaType
fn clone(&self) -> PostgresSchemaType
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 PostgresSchemaType
impl Debug for PostgresSchemaType
impl SQLSchemaType for PostgresSchemaType
Auto Trait Implementations§
impl Freeze for PostgresSchemaType
impl !RefUnwindSafe for PostgresSchemaType
impl Send for PostgresSchemaType
impl Sync for PostgresSchemaType
impl Unpin for PostgresSchemaType
impl !UnwindSafe for PostgresSchemaType
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