Function vector::serde::is_default

source ·
pub fn is_default<E>(e: &E) -> bool
where E: Default + PartialEq,
Expand description

Answers “Is this value in it’s default state?” which can be used to skip serializing the value.