@@ -22,7 +22,7 @@ pub struct ExportProfilesServiceRequest {
2222#[ cfg_attr( feature = "with-schemars" , derive( schemars:: JsonSchema ) ) ]
2323#[ cfg_attr( feature = "with-serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
2424#[ cfg_attr( feature = "with-serde" , serde( rename_all = "camelCase" ) ) ]
25- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
25+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
2626pub struct ExportProfilesServiceResponse {
2727 /// The details of a partially successful export request.
2828 ///
@@ -36,7 +36,7 @@ pub struct ExportProfilesServiceResponse {
3636 /// In such cases, the `rejected_<signal>` MUST have a value of `0` and
3737 /// the `error_message` MUST be non-empty.
3838 ///
39- /// A `partial_success` message with an empty value (rejected_ <signal> = 0 and
39+ /// A `partial_success` message with an empty value (rejected\_ <signal> = 0 and
4040 /// `error_message` = "") is equivalent to it not being set/present. Senders
4141 /// SHOULD interpret it the same way as in the full success case.
4242 #[ prost( message, optional, tag = "1" ) ]
@@ -45,7 +45,7 @@ pub struct ExportProfilesServiceResponse {
4545#[ cfg_attr( feature = "with-schemars" , derive( schemars:: JsonSchema ) ) ]
4646#[ cfg_attr( feature = "with-serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
4747#[ cfg_attr( feature = "with-serde" , serde( rename_all = "camelCase" ) ) ]
48- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
48+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
4949pub struct ExportProfilesPartialSuccess {
5050 /// The number of rejected profiles.
5151 ///
@@ -172,7 +172,7 @@ pub mod profiles_service_client {
172172 format ! ( "Service was not ready: {}" , e. into( ) ) ,
173173 )
174174 } ) ?;
175- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
175+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
176176 let path = http:: uri:: PathAndQuery :: from_static (
177177 "/opentelemetry.proto.collector.profiles.v1development.ProfilesService/Export" ,
178178 ) ;
@@ -318,7 +318,7 @@ pub mod profiles_service_server {
318318 let inner = self . inner . clone ( ) ;
319319 let fut = async move {
320320 let method = ExportSvc ( inner) ;
321- let codec = tonic :: codec :: ProstCodec :: default ( ) ;
321+ let codec = tonic_prost :: ProstCodec :: default ( ) ;
322322 let mut grpc = tonic:: server:: Grpc :: new ( codec)
323323 . apply_compression_config (
324324 accept_compression_encodings,
0 commit comments