commit 6da1cf79d90eb242e7da5318241d42279a3df3ba Author: Max Burke <max@urbanlogiq.com> Date: Sun Jan 19 14:47:28 2020 -0800 [rust] Add use declarations to Rust-generated bindings for imported FB definitions (#5645) * Bugfix for Rust generation of union fields named with language keywords
18 lines
274 B
Plaintext
18 lines
274 B
Plaintext
table HelloReply {
|
|
message:string;
|
|
}
|
|
|
|
table HelloRequest {
|
|
name:string;
|
|
}
|
|
|
|
table ManyHellosRequest {
|
|
name:string;
|
|
num_greetings:int;
|
|
}
|
|
|
|
rpc_service Greeter {
|
|
SayHello(HelloRequest):HelloReply;
|
|
SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
|
|
}
|