pub struct FieldAutoInt(pub Option<i32>);Expand description
Auto-increment INTEGER primary key. None until the row is inserted;
the database generates the value.
Tuple Fields§
§0: Option<i32>Trait Implementations§
Source§impl Clone for FieldAutoInt
impl Clone for FieldAutoInt
impl Copy for FieldAutoInt
Source§impl Debug for FieldAutoInt
impl Debug for FieldAutoInt
Source§impl Default for FieldAutoInt
impl Default for FieldAutoInt
Source§impl<'de> Deserialize<'de> for FieldAutoInt
impl<'de> Deserialize<'de> for FieldAutoInt
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
Source§impl FilterValue<FieldAutoInt> for i32
impl FilterValue<FieldAutoInt> for i32
fn into_sql_value(self) -> SqlValue
Source§impl From<i32> for FieldAutoInt
impl From<i32> for FieldAutoInt
Source§impl PartialEq for FieldAutoInt
impl PartialEq for FieldAutoInt
Source§impl PrimaryKeyField for FieldAutoInt
impl PrimaryKeyField for FieldAutoInt
Source§impl Serialize for FieldAutoInt
impl Serialize for FieldAutoInt
impl StructuralPartialEq for FieldAutoInt
Source§impl ToSqlValue for FieldAutoInt
impl ToSqlValue for FieldAutoInt
fn to_sql_value(&self) -> SqlValue
Auto Trait Implementations§
impl Forget for FieldAutoInt
impl Freeze for FieldAutoInt
impl RefUnwindSafe for FieldAutoInt
impl Send for FieldAutoInt
impl Sync for FieldAutoInt
impl Unpin for FieldAutoInt
impl UnsafeUnpin for FieldAutoInt
impl UnwindSafe for FieldAutoInt
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