nostr_types/types/metadata.rs
1use crate::versioned::metadata1::MetadataV1;
2
3/// Metadata about a user
4///
5/// Note: the value is an Option because some real-world data has been found to
6/// contain JSON nulls as values, and we don't want deserialization of those
7/// events to fail. We treat these in our get() function the same as if the key
8/// did not exist.
9pub type Metadata = MetadataV1;