1 use serde_derive::Deserialize; 2 3 #[derive(Deserialize)] 4 #[serde(default)] 5 enum E { 6 S { f: u8 }, 7 } 8 main()9 fn main() {} 10