https://pantsbuild.org/ logo
#development
Title
# development
a

average-vr-56795

01/10/2019, 5:53 PM
@witty-crayon-22786 Style question… How many default fields does a proto need to have before you prefer:
Copy code
let mut execute_response = bazel_protos::build::bazel::remote::execution::v2::ExecuteResponse::default();
execute_response.result = ...;
to
Copy code
let execute_response = bazel_protos::build::bazel::remote::execution::v2::ExecuteResponse {
  result: ...,
  cached_result: false,
  server_logs: HashMap::new(),
  status: None,
};
?