2018-12-31 20:36:59 -06:00
|
|
|
use serde_derive::Deserialize;
|
2017-04-14 18:09:00 -05:00
|
|
|
|
2018-06-03 00:19:39 -05:00
|
|
|
#[derive(Deserialize)]
|
2018-06-02 23:11:42 -05:00
|
|
|
#[serde(field_identifier, variant_identifier)]
|
2017-04-14 18:09:00 -05:00
|
|
|
enum F {
|
|
|
|
A,
|
|
|
|
B,
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|