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