error[E0599]: the method `insert` exists for struct `HashMap<QuestionId, Question>`, but its trait bounds were not satisfied --> src/main.rs:23:24 | 23 | self.questions.insert(question.id.clone(), question); | ^^^^^^ ... 37 | struct QuestionId(String); | ----------------- | | | doesn't satisfy `QuestionId: Eq` | doesn't satisfy `QuestionId: Hash` | doesn't satisfy `QuestionId: PartialEq` | = note: the following trait bounds were not satisfied: `QuestionId: Eq` `QuestionId: PartialEq` which is required by `QuestionId: Eq` `QuestionId: Hash` help: consider annotating `QuestionId` with `#[derive(Eq, Hash, PartialEq)]` | 37 | #[derive(Eq, Hash, PartialEq)] | For more information about this error, try `rustc --explain E0599`. error: could not compile `warp_server` due to previous error