pub struct ColumnOptions {
pub not_null: bool,
pub unique: bool,
pub default: Option<Value>,
pub default_format: Option<ColumnDefault>,
}Fields§
§not_null: bool§unique: bool§default: Option<Value>§default_format: Option<ColumnDefault>Trait Implementations§
Source§impl Clone for ColumnOptions
impl Clone for ColumnOptions
Source§fn clone(&self) -> ColumnOptions
fn clone(&self) -> ColumnOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnOptions
impl Debug for ColumnOptions
Source§impl Default for ColumnOptions
impl Default for ColumnOptions
Source§fn default() -> ColumnOptions
fn default() -> ColumnOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColumnOptions
impl RefUnwindSafe for ColumnOptions
impl Send for ColumnOptions
impl Sync for ColumnOptions
impl Unpin for ColumnOptions
impl UnwindSafe for ColumnOptions
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