pub struct DbColumn {
pub name: String,
pub data_type: String,
pub is_nullable: bool,
pub is_primary_key: bool,
pub max_length: Option<usize>,
}Expand description
Column information from database introspection.
Fields§
§name: String§data_type: String§is_nullable: bool§is_primary_key: bool§max_length: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DbColumn
impl RefUnwindSafe for DbColumn
impl Send for DbColumn
impl Sync for DbColumn
impl Unpin for DbColumn
impl UnsafeUnpin for DbColumn
impl UnwindSafe for DbColumn
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