removed struct_variant feature as it is not gated anymore

The struct_variant is not gated anymore. This commit just removes it and the resulting warnings when compiling rust.