use derive_more_more::FromIterator; #[derive(Default, FromIterator)] struct NamedMulti { inner: Vec, test: bool, } #[derive(Default, FromIterator)] struct NamedSingle { inner: Vec, } #[derive(Default, FromIterator)] struct UnnamedMulti(Vec, bool); #[derive(Default, FromIterator)] struct UnnamedSingle(Vec); #[derive(Default, FromIterator)] struct Unit; fn main() {}