nostr_types

Type Alias Rumor

source
pub type Rumor = RumorV3;
Expand description

A Rumor is an Event without a signature

Aliased Type§

struct Rumor {
    pub id: Id,
    pub pubkey: PublicKey,
    pub created_at: Unixtime,
    pub kind: EventKind,
    pub content: String,
    pub tags: Vec<TagV3>,
}

Fields§

§id: Id

The Id of the event, generated as a SHA256 of the inner event data

§pubkey: PublicKey

The public key of the actor who created the event

§created_at: Unixtime

The (unverified) time at which the event was created

§kind: EventKind

The kind of event

§content: String

The content of the event

§tags: Vec<TagV3>

A set of tags that apply to the event