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