diff --git a/src/nips/nip01.rs b/src/nips/nip01.rs index 6b36d4a..763b75e 100644 --- a/src/nips/nip01.rs +++ b/src/nips/nip01.rs @@ -3,7 +3,7 @@ use nostr_sdk::prelude::*; /// A simplified structure for a Text Post (Kind 1) /// Contains the ID, Author, content, and timestamp. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct Post { pub id: EventId, pub author: PublicKey,