pub type PreEvent = PreEventV3;Expand description
Data used to construct an event
Aliased Type§
struct PreEvent {
pub pubkey: PublicKey,
pub created_at: Unixtime,
pub kind: EventKind,
pub tags: Vec<TagV3>,
pub content: String,
}Fields§
§pubkey: PublicKeyThe public key of the actor who is creating the event
created_at: UnixtimeThe time at which the event was created
kind: EventKindThe kind of event
A set of tags that apply to the event
content: StringThe content of the event