You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in pbjson-types's google.protobuf.rs, google types only get the trait PartialEq, not Eq. Which make impossible to use thes types in a BTreeSet/Map because they require Ord and thus Eq.
I know that types using floats/double can't use trait Eq, but types like Timestamp which only uses integers, should have no problem using derive(Eq).
Any chance you can add it to non-float google types ?
The text was updated successfully, but these errors were encountered:
Hello,
I noticed that in pbjson-types's
google.protobuf.rs
, google types only get the traitPartialEq
, notEq
. Which make impossible to use thes types in a BTreeSet/Map because they requireOrd
and thusEq
.I know that types using floats/double can't use trait
Eq
, but types likeTimestamp
which only uses integers, should have no problem usingderive(Eq)
.Any chance you can add it to non-float google types ?
The text was updated successfully, but these errors were encountered: