We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[derive(Debug, Serialize, Deserialize)] struct A { b: Option<B>, } #[derive(Debug, Serialize, Deserialize)] struct B {} let a = A { b: Some(B {}) }; let de: A = Config::try_from(&a).unwrap().try_deserialize().unwrap(); assert!(de.b.is_some()); // Failed