use partial_config::HasPartial; #[derive(Debug, HasPartial)] pub struct Conf(Option); #[derive(HasPartial)] pub struct Config; fn main() {}