Fix clippy: Derive Eq for Subscription
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
8ee0de9a6f
commit
bb31b91933
|
@ -14,7 +14,7 @@ pub struct Alerts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents a new Push subscription
|
/// Represents a new Push subscription
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||||
pub struct Subscription {
|
pub struct Subscription {
|
||||||
/// The `id` of the subscription
|
/// The `id` of the subscription
|
||||||
pub id: String,
|
pub id: String,
|
||||||
|
|
Loading…
Reference in New Issue