1pub trait EncodeDefault { 2 fn is_default(&self) -> bool; 3} 4 5pub trait DecodeDefault { 6 fn default() -> Self; 7}