pub struct IntFieldUpdate {
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 Int (i32) 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 IntFieldUpdate
impl Clone for IntFieldUpdate
Source§fn clone(&self) -> IntFieldUpdate
fn clone(&self) -> IntFieldUpdate
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 IntFieldUpdate
impl Debug for IntFieldUpdate
Source§impl Default for IntFieldUpdate
impl Default for IntFieldUpdate
Source§fn default() -> IntFieldUpdate
fn default() -> IntFieldUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntFieldUpdate
impl<'de> Deserialize<'de> for IntFieldUpdate
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<i32> for IntFieldUpdate
impl From<i32> for IntFieldUpdate
Source§impl From<i64> for IntFieldUpdate
impl From<i64> for IntFieldUpdate
Source§impl PartialEq for IntFieldUpdate
impl PartialEq for IntFieldUpdate
Source§fn eq(&self, other: &IntFieldUpdate) -> bool
fn eq(&self, other: &IntFieldUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntFieldUpdate
impl Serialize for IntFieldUpdate
impl Eq for IntFieldUpdate
impl StructuralPartialEq for IntFieldUpdate
Auto Trait Implementations§
impl Freeze for IntFieldUpdate
impl RefUnwindSafe for IntFieldUpdate
impl Send for IntFieldUpdate
impl Sync for IntFieldUpdate
impl Unpin for IntFieldUpdate
impl UnsafeUnpin for IntFieldUpdate
impl UnwindSafe for IntFieldUpdate
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