Skip to content

Commit

Permalink
derive Eq for IdInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Dec 21, 2023
1 parent 2ea1947 commit a811284
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Wrapper for the RobotEvents.com v2 API."
repository = "https://github.com/LemLib/robotevents-rs/"
license-file = "LICENSE.md"
readme = "README.md"
version = "0.2.8"
version = "0.2.9"
edition = "2021"
authors=["tropix126", "BattleCh1cken"]
categories = ["science::robotics", "api-bindings", "web-programming::http-client"]
Expand Down
2 changes: 1 addition & 1 deletion src/schema/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;
use crate::{
RobotEvents,
filters::{EventTeamsFilter, EventSkillsFilter, EventAwardsFilter, DivisionMatchesFilter, DivisionRankingsFilter},
schema::{IdInfo, Location, Season}
schema::{IdInfo, Location}
};

use serde::{Deserialize, Serialize};
Expand Down
2 changes: 1 addition & 1 deletion src/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<T: DeserializeOwned> PaginatedResponse<T> {
}
}

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct IdInfo {
pub id: i32,
pub name: String,
Expand Down

0 comments on commit a811284

Please sign in to comment.