pub fn is_default<E>(e: &E) -> boolwhere E: Default + PartialEq,
Answers “Is this value in it’s default state?” which can be used to skip serializing the value.