@@ -48,7 +48,7 @@ pub struct CertificateDetails {
4848}
4949/// Nested message and enum types in `CertificateDetails`.
5050pub mod certificate_details {
51- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
51+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
5252 pub struct OcspDetails {
5353 /// Indicates the time from which the OCSP response is valid.
5454 #[ prost( message, optional, tag = "1" ) ]
@@ -62,7 +62,7 @@ pub mod certificate_details {
6262 > ,
6363 }
6464}
65- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
65+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
6666pub struct SubjectAlternateName {
6767 /// Subject Alternate Name.
6868 #[ prost( oneof = "subject_alternate_name::Name" , tags = "1, 2, 3" ) ]
@@ -71,7 +71,7 @@ pub struct SubjectAlternateName {
7171/// Nested message and enum types in `SubjectAlternateName`.
7272pub mod subject_alternate_name {
7373 /// Subject Alternate Name.
74- #[ derive( Clone , PartialEq , :: prost:: Oneof ) ]
74+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Oneof ) ]
7575 pub enum Name {
7676 #[ prost( string, tag = "1" ) ]
7777 Dns ( :: prost:: alloc:: string:: String ) ,
@@ -82,7 +82,7 @@ pub mod subject_alternate_name {
8282 }
8383}
8484/// Proto representation of an Envoy Counter or Gauge value.
85- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
85+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
8686pub struct SimpleMetric {
8787 /// Type of the metric represented.
8888 #[ prost( enumeration = "simple_metric::Type" , tag = "1" ) ]
@@ -274,7 +274,7 @@ pub struct HostStatus {
274274}
275275/// Health status for a host.
276276/// \[\#next-free-field: 9\]
277- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
277+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
278278pub struct HostHealthStatus {
279279 /// The host is currently failing active health checks.
280280 #[ prost( bool , tag = "1" ) ]
@@ -309,7 +309,7 @@ pub struct HostHealthStatus {
309309 #[ prost( enumeration = "super::super::config::core::v3::HealthStatus" , tag = "3" ) ]
310310 pub eds_health_status : i32 ,
311311}
312- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
312+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
313313pub struct UpdateFailureState {
314314 /// What the component configuration would have been if the update had succeeded.
315315 /// This field may not be populated by xDS clients due to storage overhead.
@@ -354,7 +354,7 @@ pub struct ListenersConfigDump {
354354/// Nested message and enum types in `ListenersConfigDump`.
355355pub mod listeners_config_dump {
356356 /// Describes a statically loaded listener.
357- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
357+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
358358 pub struct StaticListener {
359359 /// The listener config.
360360 #[ prost( message, optional, tag = "1" ) ]
@@ -367,7 +367,7 @@ pub mod listeners_config_dump {
367367 super :: super :: super :: super :: google:: protobuf:: Timestamp ,
368368 > ,
369369 }
370- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
370+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
371371 pub struct DynamicListenerState {
372372 ///
373373 /// This is the per-resource version information. This version is currently taken from the
@@ -389,7 +389,7 @@ pub mod listeners_config_dump {
389389 }
390390 /// Describes a dynamically loaded listener via the LDS API.
391391 /// \[\#next-free-field: 7\]
392- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
392+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
393393 pub struct DynamicListener {
394394 /// The name or unique id of this listener, pulled from the DynamicListenerState config.
395395 #[ prost( string, tag = "1" ) ]
@@ -453,7 +453,7 @@ pub struct ClustersConfigDump {
453453/// Nested message and enum types in `ClustersConfigDump`.
454454pub mod clusters_config_dump {
455455 /// Describes a statically loaded cluster.
456- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
456+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
457457 pub struct StaticCluster {
458458 /// The cluster config.
459459 #[ prost( message, optional, tag = "1" ) ]
@@ -468,7 +468,7 @@ pub mod clusters_config_dump {
468468 }
469469 /// Describes a dynamically loaded cluster via the CDS API.
470470 /// \[\#next-free-field: 6\]
471- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
471+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
472472 pub struct DynamicCluster {
473473 ///
474474 /// This is the per-resource version information. This version is currently taken from the
@@ -520,7 +520,7 @@ pub struct RoutesConfigDump {
520520}
521521/// Nested message and enum types in `RoutesConfigDump`.
522522pub mod routes_config_dump {
523- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
523+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
524524 pub struct StaticRouteConfig {
525525 /// The route config.
526526 #[ prost( message, optional, tag = "1" ) ]
@@ -534,7 +534,7 @@ pub mod routes_config_dump {
534534 > ,
535535 }
536536 /// \[\#next-free-field: 6\]
537- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
537+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
538538 pub struct DynamicRouteConfig {
539539 ///
540540 /// This is the per-resource version information. This version is currently taken from the
@@ -653,7 +653,7 @@ pub struct EndpointsConfigDump {
653653}
654654/// Nested message and enum types in `EndpointsConfigDump`.
655655pub mod endpoints_config_dump {
656- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
656+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
657657 pub struct StaticEndpointConfig {
658658 /// The endpoint config.
659659 #[ prost( message, optional, tag = "1" ) ]
@@ -667,7 +667,7 @@ pub mod endpoints_config_dump {
667667 > ,
668668 }
669669 /// \[\#next-free-field: 6\]
670- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
670+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
671671 pub struct DynamicEndpointConfig {
672672 ///
673673 /// \[\#not-implemented-hide:\] This is the per-resource version information. This version is currently taken from the
@@ -711,7 +711,7 @@ pub struct EcdsConfigDump {
711711/// Nested message and enum types in `EcdsConfigDump`.
712712pub mod ecds_config_dump {
713713 /// \[\#next-free-field: 6\]
714- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
714+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
715715 pub struct EcdsFilterConfig {
716716 /// This is the per-resource version information. This version is currently
717717 /// taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
@@ -873,7 +873,7 @@ pub struct SecretsConfigDump {
873873pub mod secrets_config_dump {
874874 /// DynamicSecret contains secret information fetched via SDS.
875875 /// \[\#next-free-field: 7\]
876- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
876+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
877877 pub struct DynamicSecret {
878878 /// The name assigned to the secret.
879879 #[ prost( string, tag = "1" ) ]
@@ -906,7 +906,7 @@ pub mod secrets_config_dump {
906906 pub client_status : i32 ,
907907 }
908908 /// StaticSecret specifies statically loaded secret in bootstrap.
909- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
909+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
910910 pub struct StaticSecret {
911911 /// The name assigned to the secret.
912912 #[ prost( string, tag = "1" ) ]
@@ -941,7 +941,7 @@ pub struct UnreadyTargetsDumps {
941941/// Nested message and enum types in `UnreadyTargetsDumps`.
942942pub mod unready_targets_dumps {
943943 /// Message of unready targets information of an init manager.
944- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
944+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
945945 pub struct UnreadyTargetsDump {
946946 /// Name of the init manager. Example: "init_manager_xxx".
947947 #[ prost( string, tag = "1" ) ]
@@ -980,7 +980,7 @@ pub struct ListenerStatus {
980980/// values extracted from an internal TCMalloc instance. For more information, see the section of the
981981/// docs entitled ["Generic Tcmalloc Status"](<https://gperftools.github.io/gperftools/tcmalloc.html>).
982982/// \[\#next-free-field: 7\]
983- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
983+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
984984pub struct Memory {
985985 /// The number of bytes allocated by the heap for Envoy. This is an alias for
986986 /// `generic.current_allocated_bytes`.
@@ -1016,7 +1016,7 @@ pub struct Memory {
10161016/// *NB*: The wait cycles below are measured by `absl::base_internal::CycleClock`, and may not
10171017/// correspond to core clock frequency. For more information, see the `CycleClock`
10181018/// [docs](<https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/cycleclock.h>).
1019- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
1019+ #[ derive( Clone , Copy , PartialEq , Eq , Hash , :: prost:: Message ) ]
10201020pub struct MutexStats {
10211021 /// The number of individual mutex contentions which have occurred since startup.
10221022 #[ prost( uint64, tag = "1" ) ]
@@ -1109,7 +1109,7 @@ pub mod server_info {
11091109 }
11101110}
11111111/// \[\#next-free-field: 42\]
1112- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
1112+ #[ derive( Clone , PartialEq , Eq , Hash , :: prost:: Message ) ]
11131113pub struct CommandLineOptions {
11141114 /// See :option:`--base-id` for details.
11151115 #[ prost( uint64, tag = "1" ) ]
0 commit comments