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