Crate nostrdb

Crate nostrdb 

Source

Structs§

Block
Blocks
Config
Counts
A plain data struct used to create a “Counts” metadata entry.
CountsEntry
A metadata entry representing aggregated counts for a note.
Filter
FilterBuilder
IngestMetadata
Ndb
A nostrdb context. Construct one of these with Ndb::new.
NdbProfile
NdbProfileRecord
NdbStr
NoteBuildOptions
NoteBuilder
NoteIdRef
Parsed e tags
NoteIdRefBuf
NoteKey
NoteMetadata
A borrowed reference to a note’s aggregated metadata.
NoteMetadataBuf
An owned, heap-allocated buffer containing a complete note metadata blob.
NoteMetadataBuilder
A builder for constructing a new NoteMetadataBuf.
NoteMetadataEntry
A borrowed reference to a single metadata entry.
NoteMetadataEntryBuf
An owned buffer representing a single metadata entry.
NoteReply
NoteReplyBuf
Owned version of NoteReply, stores tag indices
ProfileKey
QueryResult
ReactionEntry
A metadata entry representing a specific reaction and its count (e.g., “❤️” - 5 times).
Subscription
SubscriptionStream
A subscription that you can .await on. This can enables very clean integration into Rust’s async state machinery.
Tag
TagIter
Tags
TagsIter
Transaction
A nostrdb transaction. Only one is allowed to be active per thread.

Enums§

BlockType
Error
Main error type
FilterElement
FilterError
Filter-specific error type
FilterField
Marker
Mention
MutFilterField
NdbStrVariant
Note
NoteMetadataEntryVariant
An enumeration of the different types of note metadata entries.
NoteRelays
ProfileRecord

Type Aliases§

Result