Struct lumus_sql_builder::sqlite::create::Column
source · pub struct Column { /* private fields */ }
Implementations§
source§impl Column
impl Column
pub fn new(name: &str) -> Self
pub fn integer(self) -> Self
pub fn text(self) -> Self
pub fn real(self) -> Self
pub fn boolean(self) -> Self
pub fn blob(self) -> Self
pub fn numeric(self) -> Self
pub fn date(self) -> Self
pub fn time(self) -> Self
pub fn datetime(self) -> Self
pub fn not_null(self) -> Self
pub fn unique(self) -> Self
pub fn default(self, value: &str) -> Self
pub fn auto_increment(self) -> Self
pub fn primary_key(self) -> Self
pub fn build(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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