1 2 3 4 5 6 7 8 9 10
use structural_typing::structural; #[structural] #[derive(serde::Deserialize)] struct Test { #[serde(invalid_attribute)] name: String, } fn main() {}