pub fn is_default<T: PartialEq + Default>(value: &T) -> bool
Checks if a value is different from the default of its type.
Used in serde fields: #[serde(skip_serializing_if = "crate::is_default")]
#[serde(skip_serializing_if = "crate::is_default")]