Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
fmt
/
tests
/
sum_attributes_keep.vv
14
lines
·
12
sloc
·
214 bytes
·
757929392e0e7a75fc1272116460981e589737d5
Raw
1
@[derive: 'DeserBincode,SerBincode']
2
type OneOf = ItemA | ItemB
3
4
@[derive: 'DeserBincode,SerBincode']
5
struct ItemA {
6
a string
7
}
8
9
@[derive: 'DeserBincode,SerBincode']
10
struct ItemB {
11
b int
12
bb u64
13
bbb string
14
}
15