Skip to content

Commit

Permalink
Implement Eq (and PartialEq) for ActivityData
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed Jan 15, 2025
1 parent bceffa2 commit c4241bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub struct PresenceData {
}

/// Activity data of the current user.
#[derive(Clone, Debug, Serialize)]
#[derive(Clone, Debug, Serialize, PartialEq, Eq)]
pub struct ActivityData {
/// The name of the activity
pub name: String,
Expand Down

0 comments on commit c4241bf

Please # to comment.