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