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