farmap 0.10.1

A library for working with Farcaster label datasets
Documentation
1
2
3
4
5
6
7
8
9
//! Associate a tag with a user value. A tag can be, many things, such as a source that the user
//! value came from, a date associated with the data, or a fid.
use crate::user_value::UserValue;

pub trait HasTag<T> {
    fn tag(&self) -> T;

    fn untag(self) -> (impl UserValue, T);
}