willow_data_model/entry/mod.rs
1//! Functionality around Willow [Entries](https://willowprotocol.org/specs/data-model/index.html#Entry).
2//!
3//! Entries are the metadata by which payload strings are identified in Willow — see the [`Entry`] struct for more information.
4//!
5//! Applications can construct concrete entries via [`EntryBuilders`](EntryBuilder). Code which merely needs to inspect entries should make use of the [`Entrylike`] trait, however. This trait describes exactly which information an entry provides, and lets code abstract over any *specific* representation (such as the [`Entry`] struct) of entries.
6
7mod keylike;
8pub use keylike::*;
9
10#[allow(clippy::module_inception)]
11mod entry;
12pub use entry::*;
13
14mod builder;
15pub use builder::*;