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