FromString is a trait for objects that can be constructed from a string.
The FromString::from_string function takes a string reference as input and returns an instance of the type implementing this trait based on the string.
GetVariants is a trait for objects that have a set of variants.
The GetVariants::get_variants function returns a vector of strings, each representing a variant of the object.