diff --git a/tokio-postgres/src/lib.rs b/tokio-postgres/src/lib.rs index 0185edd6..8a9cd30c 100644 --- a/tokio-postgres/src/lib.rs +++ b/tokio-postgres/src/lib.rs @@ -200,7 +200,7 @@ where } /// An asynchronous notification. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq, Eq)] #[allow(missing_docs)] pub struct Notification { pub process_id: i32,