1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use darling::FromMeta; #[derive(FromMeta)] struct NoDefault(String); #[derive(FromMeta)] struct Recevier { #[darling(skip)] skipped: NoDefault, #[darling(skip = true)] explicitly_skipped: NoDefault, #[darling(skip = false)] not_skipped_no_problem: NoDefault, } fn main() {}