pub struct BigIntFieldUpdate {
pub set: Option<i64>,
pub increment: Option<i64>,
pub decrement: Option<i64>,
pub multiply: Option<i64>,
pub divide: Option<i64>,
}Expand description
Update operators for a non-nullable BigInt (i64) column.
Fields§
§set: Option<i64>SET column = value
increment: Option<i64>SET column = column + value
decrement: Option<i64>SET column = column - value
multiply: Option<i64>SET column = column * value
divide: Option<i64>SET column = column / value
Trait Implementations§
Source§impl Clone for BigIntFieldUpdate
impl Clone for BigIntFieldUpdate
Source§fn clone(&self) -> BigIntFieldUpdate
fn clone(&self) -> BigIntFieldUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BigIntFieldUpdate
impl Debug for BigIntFieldUpdate
Source§impl Default for BigIntFieldUpdate
impl Default for BigIntFieldUpdate
Source§fn default() -> BigIntFieldUpdate
fn default() -> BigIntFieldUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BigIntFieldUpdate
impl<'de> Deserialize<'de> for BigIntFieldUpdate
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 From<i64> for BigIntFieldUpdate
impl From<i64> for BigIntFieldUpdate
Source§impl PartialEq for BigIntFieldUpdate
impl PartialEq for BigIntFieldUpdate
Source§fn eq(&self, other: &BigIntFieldUpdate) -> bool
fn eq(&self, other: &BigIntFieldUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BigIntFieldUpdate
impl Serialize for BigIntFieldUpdate
impl Eq for BigIntFieldUpdate
impl StructuralPartialEq for BigIntFieldUpdate
Auto Trait Implementations§
impl Freeze for BigIntFieldUpdate
impl RefUnwindSafe for BigIntFieldUpdate
impl Send for BigIntFieldUpdate
impl Sync for BigIntFieldUpdate
impl Unpin for BigIntFieldUpdate
impl UnsafeUnpin for BigIntFieldUpdate
impl UnwindSafe for BigIntFieldUpdate
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