Struct diesel_table_macro_syntax::TableDecl
source · pub struct TableDecl {
pub use_statements: Vec<ItemUse>,
pub meta: Vec<Attribute>,
pub schema: Option<Ident>,
pub sql_name: String,
pub table_name: Ident,
pub primary_keys: Option<PrimaryKey>,
pub column_defs: Punctuated<ColumnDef, Comma>,
/* private fields */
}
Fields§
§use_statements: Vec<ItemUse>
§meta: Vec<Attribute>
§schema: Option<Ident>
§sql_name: String
§table_name: Ident
§primary_keys: Option<PrimaryKey>
§column_defs: Punctuated<ColumnDef, Comma>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TableDecl
impl !Send for TableDecl
impl !Sync for TableDecl
impl Unpin for TableDecl
impl UnwindSafe for TableDecl
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