pub struct TableDef {
pub schema: &'static str,
pub name: &'static str,
pub is_rls_enabled: bool,
}Expand description
Const-friendly table definition for compile-time schema definitions.
Fields§
§schema: &'static strSchema name
name: &'static strTable name
is_rls_enabled: boolIs Row-Level Security enabled?
Implementations§
Trait Implementations§
impl Copy for TableDef
impl Eq for TableDef
impl StructuralPartialEq for TableDef
Auto Trait Implementations§
impl Freeze for TableDef
impl RefUnwindSafe for TableDef
impl Send for TableDef
impl Sync for TableDef
impl Unpin 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