2018-12-31 20:36:59 -06:00
|
|
|
use serde_derive::Deserialize;
|
2017-08-14 16:39:29 -05:00
|
|
|
|
2018-06-03 00:19:39 -05:00
|
|
|
#[derive(Deserialize)]
|
2017-08-14 16:39:29 -05:00
|
|
|
enum Enum {
|
|
|
|
#[serde(deserialize_with = "deserialize_some_unit_variant")]
|
|
|
|
#[serde(skip_deserializing)]
|
|
|
|
Unit,
|
|
|
|
}
|
|
|
|
|
2018-06-03 00:30:55 -05:00
|
|
|
fn main() {}
|