Struct diesel_table_macro_syntax::ColumnDef
source · pub struct ColumnDef {
pub meta: Vec<Attribute>,
pub column_name: Ident,
pub sql_name: String,
pub tpe: TypePath,
pub max_length: Option<LitInt>,
/* private fields */
}
Fields§
§meta: Vec<Attribute>
§column_name: Ident
§sql_name: String
§tpe: TypePath
§max_length: Option<LitInt>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColumnDef
impl RefUnwindSafe for ColumnDef
impl !Send for ColumnDef
impl !Sync for ColumnDef
impl Unpin for ColumnDef
impl UnwindSafe for ColumnDef
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