pub trait ToStruct { // Required methods fn to_kinds(&self) -> Kinds; fn get_types() -> Types where Self: Sized; }