nostr_rust

My fork of nostr_rust
git clone git://jb55.com/nostr_rust
Log | Files | Refs | README

commit ccf7e521fe3bb9ca8f86516aef2c1f71db0213ed
parent 04bfd04bb861e9f1b3a8bd29c103f3e1c21700ab
Author: William Casarin <jb55@jb55.com>
Date:   Sun,  6 Nov 2022 17:23:39 -0800

event: derive clone

Diffstat:
Msrc/events.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events.rs b/src/events.rs @@ -121,7 +121,7 @@ impl EventPrepare { } /// Event is the struct used to represent a Nostr event -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct Event { /// 32-bytes sha256 of the the serialized event data pub id: String,