1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
source: varnish-macros/src/tests.rs
---
VmodInfo {
params: VmodParams {
docs: None,
},
ident: "event2",
docs: "",
funcs: [
FuncInfo {
func_type: Event,
ident: "on_event",
docs: "",
has_optional_args: false,
args: [
ParamTypeInfo {
ident: "ctx",
docs: "",
ty: Context {
is_mut: false,
},
},
ParamTypeInfo {
ident: "event",
docs: "",
ty: Event,
},
],
output_ty: Default,
out_result: true,
},
],
objects: [],
shared_types: SharedTypes {
shared_per_task_ty: None,
shared_per_vcl_ty: None,
},
}