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