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