pub enum UpdateField<T> {
Missing,
Null,
Value(T),
}Variants§
Trait Implementations§
Source§impl<T: Clone> Clone for UpdateField<T>
impl<T: Clone> Clone for UpdateField<T>
Source§fn clone(&self) -> UpdateField<T>
fn clone(&self) -> UpdateField<T>
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<T: Debug> Debug for UpdateField<T>
impl<T: Debug> Debug for UpdateField<T>
Source§impl<T> Default for UpdateField<T>
impl<T> Default for UpdateField<T>
Source§fn default() -> UpdateField<T>
fn default() -> UpdateField<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T> Deserialize<'de> for UpdateField<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for UpdateField<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for UpdateField<T>
impl<T: PartialEq> PartialEq for UpdateField<T>
Source§fn eq(&self, other: &UpdateField<T>) -> bool
fn eq(&self, other: &UpdateField<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T> Serialize for UpdateField<T>where
T: Serialize,
impl<T> Serialize for UpdateField<T>where
T: Serialize,
impl<T: Eq> Eq for UpdateField<T>
impl<T> StructuralPartialEq for UpdateField<T>
Auto Trait Implementations§
impl<T> Freeze for UpdateField<T>where
T: Freeze,
impl<T> RefUnwindSafe for UpdateField<T>where
T: RefUnwindSafe,
impl<T> Send for UpdateField<T>where
T: Send,
impl<T> Sync for UpdateField<T>where
T: Sync,
impl<T> Unpin for UpdateField<T>where
T: Unpin,
impl<T> UnsafeUnpin for UpdateField<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for UpdateField<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.