13 lines
167 B
Rust
13 lines
167 B
Rust
use serde_derive::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
#[serde(transparent)]
|
|
struct S {
|
|
#[serde(skip)]
|
|
a: u8,
|
|
#[serde(default)]
|
|
b: u8,
|
|
}
|
|
|
|
fn main() {}
|