module aa pub type MySumType = S1 | S2 pub struct S1 {} pub struct S2 {}