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