1 2 3 4 5 6 7 8
pub type Foo = FooType; #[derive(Debug)] pub struct FooType { pub a_list: ListType, } #[derive(Debug, Default)] pub struct ListType(pub Vec<StringType>); pub type StringType = String;