pub struct TableDef {
pub name: String,
pub columns: Vec<ColumnDef>,
pub enable_rls: bool,
}Expand description
Table definition parsed from a .qail schema file.
Fields§
§name: StringTable name.
columns: Vec<ColumnDef>Column definitions.
enable_rls: boolWhether this table has RLS enabled.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableDef
impl RefUnwindSafe for TableDef
impl Send for TableDef
impl Sync for TableDef
impl Unpin for TableDef
impl UnsafeUnpin for TableDef
impl UnwindSafe for TableDef
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