MCPcopy Create free account
hub / github.com/apache/fory / pb_request

Function pb_request

integration_tests/grpc_tests/rust/interop/src/main.rs:721–727  ·  view source on GitHub ↗

Builds a protobuf request.

(id: &str, count: u32, payload: grpc_pb_request::Payload)

Source from the content-addressed store, hash-verified

719
720// Builds a protobuf request.
721fn pb_request(id: &str, count: u32, payload: grpc_pb_request::Payload) -> GrpcPbRequest {
722 GrpcPbRequest {
723 id: id.to_string(),
724 count,
725 payload: Some(payload),
726 }
727}
728
729// Maps a protobuf request oneof payload to the expected response payload.
730fn pb_response_payload(

Callers

nothing calls this directly

Calls 2

SomeFunction · 0.85
to_stringMethod · 0.45

Tested by

no test coverage detected