rust enum anonymous struct

enum Foo {
    A { val: i64 },
    B,
}
Prafy