pub struct ColumnInfo {
pub name: String,
pub declared: String,
pub affinity: String,
pub not_null: bool,
pub checked_not_null: bool,
pub generated: bool,
pub has_default: bool,
}Fields§
§name: String§declared: String§affinity: String§not_null: bool§checked_not_null: boolA CHECK of the table tests the column IS NOT NULL among its conjuncts: a write of NULL fails.
generated: boolA generated column, which no INSERT writes.
has_default: boolThe column declares a DEFAULT other than the bare NULL, which an INSERT that leaves it out
writes.
Trait Implementations§
Source§impl Debug for ColumnInfo
impl Debug for ColumnInfo
Source§impl<'de> Deserialize<'de> for ColumnInfo
impl<'de> Deserialize<'de> for ColumnInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ColumnInfo
impl Freeze for ColumnInfo
impl Move for ColumnInfo
impl RefUnwindSafe for ColumnInfo
impl Send for ColumnInfo
impl Sync for ColumnInfo
impl Unpin for ColumnInfo
impl UnsafeUnpin for ColumnInfo
impl UnwindSafe for ColumnInfo
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