Fix clippy: Derive Eq for NotificationType
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
0ba5ca3599
commit
998c477818
|
@ -21,7 +21,7 @@ pub struct Notification {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The type of notification.
|
/// The type of notification.
|
||||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq)]
|
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq)]
|
||||||
#[serde(rename_all = "lowercase")]
|
#[serde(rename_all = "lowercase")]
|
||||||
pub enum NotificationType {
|
pub enum NotificationType {
|
||||||
/// Someone mentioned the application client in another status.
|
/// Someone mentioned the application client in another status.
|
||||||
|
|
Loading…
Reference in New Issue