Consider this Config struct which contains a vector of Host structs: use serde::Deserialize; use std::net::IpAddr; #[derive(Debug, Deserialize)] struct Config
I have to deserialize JSON blobs where in some places the absence of an entire object is encoded as an object with the same structure but all of its fields set