pub struct Table {
pub name: String,
pub columns: Vec<Column>,
pub multi_column_fks: Vec<MultiColumnForeignKey>,
pub enable_rls: bool,
pub force_rls: bool,
}Expand description
A table definition in the schema.
Fields§
§name: StringTable name.
columns: Vec<Column>Column definitions.
multi_column_fks: Vec<MultiColumnForeignKey>Table-level multi-column foreign keys
enable_rls: boolENABLE ROW LEVEL SECURITY
force_rls: boolFORCE ROW LEVEL SECURITY
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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