PartialEq missing bug fix

This commit is contained in:
Malte Schröder
2025-12-22 10:11:28 +01:00
parent 397635d43e
commit 9c50d8a3ba

View File

@@ -3,7 +3,7 @@ use nostr_sdk::prelude::*;
/// A simplified structure for a Text Post (Kind 1) /// A simplified structure for a Text Post (Kind 1)
/// Contains the ID, Author, content, and timestamp. /// Contains the ID, Author, content, and timestamp.
#[derive(Debug, Clone)] #[derive(Debug, Clone, PartialEq)]
pub struct Post { pub struct Post {
pub id: EventId, pub id: EventId,
pub author: PublicKey, pub author: PublicKey,