11 lines
191 B
Rust
11 lines
191 B
Rust
use serde_derive::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
enum Enum {
|
|
#[serde(deserialize_with = "deserialize_some_unit_variant")]
|
|
#[serde(skip_deserializing)]
|
|
Unit,
|
|
}
|
|
|
|
fn main() {}
|