pub fn is_nothing<T: ?Sized>(value: &T) -> bool where
    T: Serialize
Expand description

Returns true if the value matches definition of “nothing”. Typically deserializing from Nothing would yield same value.