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