matrix-org / matrix-org/matrix-rust-sdk
Add `Ord` and `Eq` trait for `matrix_sdk_base::media::MediaFormat`
Open
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
Add `Ord` and `Eq` trait for `matrix_sdk_base::media::MediaFormat` to give it ability to become the key of a `Map`.
I need it indeed, Please.
Contributor guide
Research direction
Locate the definition of matrix_sdk_base::media::MediaFormat and inspect its existing trait implementations. Confirm the required ordering and equality behavior, then verify that MediaFormat can be used as a map key with the relevant Rust tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100