We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is my proto:
syntax = "proto3";
message GetRequest { string name = 1; int32 age = 2; repeated string features = 3; }
this is my rs files: let req = GetRequest { name: Cow::Borrowed("name1"), age: 11, features: vec![Cow::Borrowed("features 1")], };
if wo have a builder, we can
let req=GetRequestBuilder::default() .name("name1") .age(11) .features(&["features 1"]) .build();
Is this easier?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is my proto:
syntax = "proto3";
message GetRequest {
string name = 1;
int32 age = 2;
repeated string features = 3;
}
this is my rs files:
let req = GetRequest {
name: Cow::Borrowed("name1"),
age: 11,
features: vec![Cow::Borrowed("features 1")],
};
if wo have a builder, we can
let req=GetRequestBuilder::default()
.name("name1")
.age(11)
.features(&["features 1"])
.build();
Is this easier?
The text was updated successfully, but these errors were encountered: