pub enum TagKind {
Show 48 variants
P,
E,
R,
T,
G,
D,
A,
I,
M,
U,
X,
Relay,
Nonce,
Delegation,
ContentWarning,
Expiration,
Subject,
Challenge,
Title,
Image,
Thumb,
Summary,
PublishedAt,
Description,
Bolt11,
Preimage,
Relays,
Amount,
Lnurl,
Name,
Url,
Aes256Gcm,
Size,
Dim,
Magnet,
Blurhash,
Streaming,
Recording,
Starts,
Ends,
Status,
CurrentParticipants,
TotalParticipants,
Method,
Payload,
Anon,
Proxy,
Custom(String),
}
Expand description
Tag kind
Variants§
P
Public key
E
Event id
R
Reference (URL, etc.)
T
Hashtag
G
Geohash
D
Identifier
A
Referencing and tagging
I
External Identities
M
MIME type
U
Absolute URL
X
SHA256
Relay
Relay
Nonce
Nonce
Delegation
Delegation
ContentWarning
Content warning
Expiration
Expiration
Subject
Subject
Challenge
Auth challenge
Title
Title (NIP23)
Image
Image (NIP23)
Thumb
Thumbnail
Summary
Summary (NIP23)
PublishedAt
PublishedAt (NIP23)
Description
Description (NIP57)
Bolt11
Bolt11 Invoice (NIP57)
Preimage
Preimage (NIP57)
Relays
Relays (NIP57)
Amount
Amount (NIP57)
Lnurl
Lnurl (NIP57)
Name
Name tag
Url
Url
Aes256Gcm
AES 256 GCM
Size
Size of file in bytes
Dim
Size of file in pixels
Magnet
Magnet
Blurhash
Blurhash
Streaming
Streaming
Recording
Recording
Starts
Starts
Ends
Ends
Status
Status
CurrentParticipants
Current participants
TotalParticipants
Total participants
Method
HTTP Method Request
Payload
Payload HASH
Anon
Anon
Proxy
Proxy
Custom(String)
Custom tag kind
Trait Implementations§
source§impl Ord for TagKind
impl Ord for TagKind
source§impl PartialEq<TagKind> for TagKind
impl PartialEq<TagKind> for TagKind
source§impl PartialOrd<TagKind> for TagKind
impl PartialOrd<TagKind> for TagKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TagKind
impl StructuralEq for TagKind
impl StructuralPartialEq for TagKind
Auto Trait Implementations§
impl RefUnwindSafe for TagKind
impl Send for TagKind
impl Sync for TagKind
impl Unpin for TagKind
impl UnwindSafe for TagKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.