1 2 3 4 5 6 7 8 9 10 11
#[derive(Debug, Default, Eq, Hash, PartialEq)] pub struct FooType { pub a: Option<String>, } pub struct BarType { pub b: Option<String>, } #[derive(Debug)] pub struct BazType { pub c: Option<String>, }