2018-12-31 21:36:59 -05:00
|
|
|
use serde_derive::Deserialize;
|
2017-08-14 14:39:29 -07:00
|
|
|
|
2018-06-02 22:19:39 -07:00
|
|
|
#[derive(Deserialize)]
|
2017-08-14 14:39:29 -07:00
|
|
|
enum Enum {
|
|
|
|
#[serde(deserialize_with = "deserialize_some_other_variant")]
|
|
|
|
Tuple(#[serde(skip_deserializing)] String, u8),
|
|
|
|
}
|
|
|
|
|
2018-06-02 22:30:55 -07:00
|
|
|
fn main() {}
|