macro_rules! e {
(context = $context:expr, $kind:ident { $($body:tt)* } ) => { ... };
(project_id = $project_id:expr, $kind:ident { $($body:tt)* } ) => { ... };
($kind:ident { $($body:tt)* } ) => { ... };
}
Expand description
e!(context = ctx, TriggerRunCreated { meta: run.meta().into() });