1 2 3 4 5 6 7 8 9 10 11 12
// https://github.com/tesaguri/oauth1-request-rs/pull/3 macro_rules! def_foo { ($t:ty) => { #[derive(oauth1_request::Request)] pub struct Foo { field: $t, } }; } def_foo!(Option<u64>);