pub enum PostgresSchemaType {
Table(&'static TableRef),
View(&'static dyn SQLViewInfo),
Index(&'static dyn SQLIndexInfo),
Policy(&'static dyn SQLPolicyInfo),
Trigger,
Enum(&'static dyn SQLEnumInfo),
}Expand description
The type of database object
Variants§
Table(&'static TableRef)
A regular table
View(&'static dyn SQLViewInfo)
A view
Index(&'static dyn SQLIndexInfo)
An index
Policy(&'static dyn SQLPolicyInfo)
A row-level security policy
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 (const: unstable) · 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 !RefUnwindSafe for PostgresSchemaType
impl !UnwindSafe for PostgresSchemaType
impl Freeze for PostgresSchemaType
impl Send for PostgresSchemaType
impl Sync for PostgresSchemaType
impl Unpin for PostgresSchemaType
impl UnsafeUnpin 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