pub enum JsonNullHandling {
NullOnNull,
AbsentOnNull,
}Expand description
JSON null handling options
Variants§
Trait Implementations§
Source§impl Clone for JsonNullHandling
impl Clone for JsonNullHandling
Source§fn clone(&self) -> JsonNullHandling
fn clone(&self) -> JsonNullHandling
Returns a duplicate of the value. Read more
1.0.0 · 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 JsonNullHandling
impl Debug for JsonNullHandling
Source§impl<'de> Deserialize<'de> for JsonNullHandling
impl<'de> Deserialize<'de> for JsonNullHandling
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 JsonNullHandling
impl PartialEq for JsonNullHandling
Source§impl Serialize for JsonNullHandling
impl Serialize for JsonNullHandling
impl Copy for JsonNullHandling
impl Eq for JsonNullHandling
impl StructuralPartialEq for JsonNullHandling
Auto Trait Implementations§
impl Freeze for JsonNullHandling
impl RefUnwindSafe for JsonNullHandling
impl Send for JsonNullHandling
impl Sync for JsonNullHandling
impl Unpin for JsonNullHandling
impl UnwindSafe for JsonNullHandling
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