is_nothing

Function is_nothing 

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

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