Function ruma::serde::is_default[][src]

pub fn is_default<T>(val: &T) -> bool where
    T: Default + PartialEq<T>, 
Expand description

Check whether a value is equal to its default value.