namespace rb SpecNamespace | |
struct Hello { | |
1: string greeting = "hello world" | |
} | |
struct Foo { | |
1: i32 simple = 53, | |
2: string words = "words", | |
3: Hello hello = {'greeting' : "hello, world!"}, | |
4: list<i32> ints = [1, 2, 2, 3], | |
5: map<i32, map<string, double>> complex, | |
6: set<i16> shorts = [5, 17, 239] | |
} |